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

Method isSuccessful

usererrors.go:127–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127func (e *decryptKeyError) isSuccessful() bool {
128 for _, err := range e.errs {
129 if err == nil {
130 return true
131 }
132 }
133 return false
134}
135
136func (e *decryptKeyError) Error() string {
137 return fmt.Sprintf("error decrypting key %s: %s", e.keyName, e.errs)

Callers 1

UserErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected