(n plumbing.ReferenceName)
| 269 | } |
| 270 | |
| 271 | func (r ReferenceStorage) Reference(n plumbing.ReferenceName) (*plumbing.Reference, error) { |
| 272 | ref, ok := r[n] |
| 273 | if !ok { |
| 274 | return nil, plumbing.ErrReferenceNotFound |
| 275 | } |
| 276 | |
| 277 | return ref, nil |
| 278 | } |
| 279 | |
| 280 | func (r ReferenceStorage) IterReferences() (storer.ReferenceIter, error) { |
| 281 | var refs []*plumbing.Reference |
nothing calls this directly
no outgoing calls
no test coverage detected