MCPcopy Index your code
hub / github.com/getsops/sops / FindConfigFile

Function FindConfigFile

config/config.go:97–100  ·  view source on GitHub ↗

FindConfigFile looks for a sops config file in the current working directory and on parent directories, up to the limit defined by the maxDepth constant.

(start string)

Source from the content-addressed store, hash-verified

95
96// FindConfigFile looks for a sops config file in the current working directory and on parent directories, up to the limit defined by the maxDepth constant.
97func FindConfigFile(start string) (string, error) {
98 result, err := LookupConfigFile(start)
99 return result.Path, err
100}
101
102type DotenvStoreConfig struct{}
103

Callers 2

Calls 1

LookupConfigFileFunction · 0.85

Tested by 2

Used in the wild real call sites across dependent graphs

searching dependent graphs…