MCPcopy
hub / github.com/helm/helm / isLocalReference

Function isLocalReference

internal/plugin/installer/installer.go:173–176  ·  view source on GitHub ↗

isLocalReference checks if the source exists on the filesystem.

(source string)

Source from the content-addressed store, hash-verified

171
172// isLocalReference checks if the source exists on the filesystem.
173func isLocalReference(source string) bool {
174 _, err := os.Stat(source)
175 return err == nil
176}
177
178// isRemoteHTTPArchive checks if the source is a http/https url and is an archive
179//

Callers 1

NewForSourceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…