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

Function LoadStoresConfig

config/config.go:635–641  ·  view source on GitHub ↗
(confPath string)

Source from the content-addressed store, hash-verified

633}
634
635func LoadStoresConfig(confPath string) (*StoresConfig, error) {
636 conf, err := loadConfigFile(confPath)
637 if err != nil {
638 return nil, err
639 }
640 return &conf.Stores, nil
641}

Callers 2

loadStoresConfigFunction · 0.92
updateFileFunction · 0.92

Calls 1

loadConfigFileFunction · 0.85

Tested by

no test coverage detected