MCPcopy
hub / github.com/FiloSottile/age / checkLabels

Function checkLabels

plugin/plugin.go:360–365  ·  view source on GitHub ↗
(ll, labels []string)

Source from the content-addressed store, hash-verified

358}
359
360func checkLabels(ll, labels []string) error {
361 if !slicesEqual(ll, labels) {
362 return fmt.Errorf("labels %q do not match previous recipients %q", ll, labels)
363 }
364 return nil
365}
366
367// IdentityV1 implements the identity-v1 state machine. It returns an exit code
368// to pass to os.Exit.

Callers 1

RecipientV1Method · 0.85

Calls 1

slicesEqualFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…