MCPcopy Index your code
hub / github.com/devspace-sh/devspace / isLocalReference

Function isLocalReference

pkg/devspace/plugin/installer.go:153–156  ·  view source on GitHub ↗

isLocalReference checks if the source exists on the filesystem.

(source string)

Source from the content-addressed store, hash-verified

151
152// isLocalReference checks if the source exists on the filesystem.
153func isLocalReference(source string) bool {
154 _, err := os.Stat(source)
155 return err == nil
156}
157
158// isRemoteHTTPYAML checks if the source is a http/https url and a yaml
159func isRemoteHTTPYAML(source string) bool {

Callers 3

DownloadBinaryMethod · 0.85
DownloadMetadataMethod · 0.85
AddMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected