MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / ExistingFilePath

Function ExistingFilePath

env/types.go:218–224  ·  view source on GitHub ↗

ExistingFilePath defines env var descriptor for a path to an existing file.

(name string)

Source from the content-addressed store, hash-verified

216
217// ExistingFilePath defines env var descriptor for a path to an existing file.
218func ExistingFilePath(name string) ExistingFilePathVar {
219 return ExistingFilePathVar{
220 Name: name,
221 format: "path to an existing file",
222 parseFn: parseExistingFilePath,
223 }
224}

Callers 3

TestParseExistingFileFunction · 0.92
static_config.goFile · 0.92
load.goFile · 0.85

Calls

no outgoing calls

Tested by 1

TestParseExistingFileFunction · 0.74