(r age.Recipient, fileKey []byte)
| 350 | } |
| 351 | |
| 352 | func wrapWithLabels(r age.Recipient, fileKey []byte) ([]*age.Stanza, []string, error) { |
| 353 | if r, ok := r.(age.RecipientWithLabels); ok { |
| 354 | return r.WrapWithLabels(fileKey) |
| 355 | } |
| 356 | s, err := r.Wrap(fileKey) |
| 357 | return s, nil, err |
| 358 | } |
| 359 | |
| 360 | func checkLabels(ll, labels []string) error { |
| 361 | if !slicesEqual(ll, labels) { |
no test coverage detected
searching dependent graphs…