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

Function wrapWithLabels

age.go:203–209  ·  view source on GitHub ↗
(r Recipient, fileKey []byte)

Source from the content-addressed store, hash-verified

201}
202
203func wrapWithLabels(r Recipient, fileKey []byte) (s []*Stanza, labels []string, err error) {
204 if r, ok := r.(RecipientWithLabels); ok {
205 return r.WrapWithLabels(fileKey)
206 }
207 s, err = r.Wrap(fileKey)
208 return
209}
210
211func slicesEqual(s1, s2 []string) bool {
212 if len(s1) != len(s2) {

Callers 1

encryptHdrFunction · 0.70

Calls 2

WrapWithLabelsMethod · 0.65
WrapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…