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

Function ids

config/config_test.go:536–542  ·  view source on GitHub ↗
(keys []keys.MasterKey)

Source from the content-addressed store, hash-verified

534}
535
536func ids(keys []keys.MasterKey) []string {
537 result := make([]string, 0, len(keys))
538 for _, key := range keys {
539 result = append(result, id(key))
540 }
541 return result
542}
543
544func TestLoadConfigFileWithMerge(t *testing.T) {
545 conf, err := parseCreationRuleForFile(parseConfigFile(sampleConfigWithMergeType, t), "/conf/path", "whatever", nil)

Callers 1

Calls 1

idFunction · 0.85

Tested by

no test coverage detected