(hash string, size FileSize)
| 172 | } |
| 173 | |
| 174 | func newObject(hash string, size FileSize) plumbing.EncodedObject { |
| 175 | return &dummyObject{ |
| 176 | hash: plumbing.NewHash(hash), |
| 177 | size: size, |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | func (d *dummyObject) Hash() plumbing.Hash { return d.hash } |
| 182 | func (*dummyObject) Type() plumbing.ObjectType { return plumbing.InvalidObject } |
no test coverage detected
searching dependent graphs…