(h plumbing.Hash)
| 115 | } |
| 116 | |
| 117 | func (o *ObjectStorage) HasEncodedObject(h plumbing.Hash) (err error) { |
| 118 | if _, ok := o.Objects[h]; !ok { |
| 119 | return plumbing.ErrObjectNotFound |
| 120 | } |
| 121 | return nil |
| 122 | } |
| 123 | |
| 124 | func (o *ObjectStorage) EncodedObjectSize(h plumbing.Hash) ( |
| 125 | size int64, err error) { |
nothing calls this directly
no outgoing calls
no test coverage detected