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

Method successfulKeyGroups

usererrors.go:28–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26}
27
28func (err *getDataKeyError) successfulKeyGroups() int {
29 n := 0
30 for _, r := range err.GroupResults {
31 if r == nil {
32 n++
33 }
34 }
35 return n
36}
37
38func (err *getDataKeyError) Error() string {
39 return fmt.Sprintf("Error getting data key: %d successful groups "+

Callers 2

ErrorMethod · 0.95
UserErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected