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

Method Error

age/keysource.go:109–115  ·  view source on GitHub ↗

Error joins the errors into a "; " separated string.

()

Source from the content-addressed store, hash-verified

107
108// Error joins the errors into a "; " separated string.
109func (e errSet) Error() string {
110 str := make([]string, len(e))
111 for i, err := range e {
112 str[i] = err.Error()
113 }
114 return strings.Join(str, "; ")
115}
116
117// MasterKeyFromRecipient takes a Bech32-encoded age public key, parses it, and
118// returns a new MasterKey.

Callers 15

initFunction · 0.45
TestRoundtripStringFunction · 0.45
TestRoundtripFloatFunction · 0.45
TestRoundtripIntFunction · 0.45
TestRoundtripBoolFunction · 0.45
TestNewMasterKeyFromURLFunction · 0.45
TestMasterKeysFromURLsFunction · 0.45
formatErrorFunction · 0.45
TestMasterKey_EncryptFunction · 0.45

Calls

no outgoing calls

Tested by 13

TestRoundtripStringFunction · 0.36
TestRoundtripFloatFunction · 0.36
TestRoundtripIntFunction · 0.36
TestRoundtripBoolFunction · 0.36
TestNewMasterKeyFromURLFunction · 0.36
TestMasterKeysFromURLsFunction · 0.36
TestMasterKey_EncryptFunction · 0.36
TestMasterKey_DecryptFunction · 0.36