MCPcopy Create free account
hub / github.com/pydio/cells / ConfigIsLocalFile

Function ConfigIsLocalFile

common/runtime/runtime.go:192–198  ·  view source on GitHub ↗

ConfigIsLocalFile checks if ConfigURL scheme is file

()

Source from the content-addressed store, hash-verified

190
191// ConfigIsLocalFile checks if ConfigURL scheme is file
192func ConfigIsLocalFile() bool {
193 if u, e := url.Parse(ConfigURL()); e == nil {
194 return u.Scheme == "file"
195 } else {
196 return false
197 }
198}
199
200func SetVaultMasterKey(masterKey string) {
201 var u *url.URL

Callers

nothing calls this directly

Calls 2

ConfigURLFunction · 0.85
ParseMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…