crash.software
Projects
Pull Requests
Issues
Builds
graphql-engine
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
graphql-engine
Files
🤬
Sign In
release/v2.38
ROOT
/
cli
/
plugins
/
util.go
Search
History
232 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
sha256Pattern
safePluginRegexp
validSHA256
windowsForbidden
isValidSHA256
(s string)
:
bool
ensureDirs
(paths ...string)
:
error
IsSafePluginName
(name string)
:
bool
validatePlatform
(p Platform)
:
error
validateFiles
(fops []FileOperation)
:
error
MatchPlatform
(platforms []Platform)
:
(Platform, bool, error)
downloadAndExtract
(extractDir, uri, sha256sum string)
:
error
IsWindows
()
:
bool
createOrUpdateLink
(binDir, binary, plugin string)
:
error
removeLink
(path string)
:
error
PluginNameToBin
(name string, isWindows bool)
:
string
IsSubPath
(basePath, subPath string)
:
(string, bool)
ReplaceBase
(path, old, replacement string)
:
(string, error)
All occurrences
Please wait...
Page is in error, reload to recover