MCPcopy
hub / github.com/getsops/sops / id

Function id

config/config_test.go:532–534  ·  view source on GitHub ↗
(key keys.MasterKey)

Source from the content-addressed store, hash-verified

530}
531
532func id(key keys.MasterKey) string {
533 return fmt.Sprintf("%s: %s", key.TypeToIdentifier(), key.ToString())
534}
535
536func ids(keys []keys.MasterKey) []string {
537 result := make([]string, 0, len(keys))

Callers 1

idsFunction · 0.85

Calls 2

TypeToIdentifierMethod · 0.65
ToStringMethod · 0.65

Tested by

no test coverage detected