Object is a generic representation of any git object
| 14 | |
| 15 | // Object is a generic representation of any git object |
| 16 | type EncodedObject interface { |
| 17 | Hash() Hash |
| 18 | Type() ObjectType |
| 19 | SetType(ObjectType) |
| 20 | Size() int64 |
| 21 | SetSize(int64) |
| 22 | Reader() (io.ReadCloser, error) |
| 23 | Writer() (io.WriteCloser, error) |
| 24 | } |
| 25 | |
| 26 | // DeltaObject is an EncodedObject representing a delta. |
| 27 | type DeltaObject interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…