--- Unused interface methods ------------------------------------------------ EncodedObjectStorer requires more than the two methods the parser actually exercises in low-memory mode. We stub the rest with explicit errors so any future caller that depends on them fails loudly rather than getting a m
()
| 179 | // than getting a misleading empty result. |
| 180 | |
| 181 | func (s *commitParentsStorer) NewEncodedObject() plumbing.EncodedObject { |
| 182 | return plumbing.NewMemoryObject(s.hasher) |
| 183 | } |
| 184 | |
| 185 | func (s *commitParentsStorer) SetEncodedObject(plumbing.EncodedObject) (plumbing.Hash, error) { |
| 186 | return plumbing.ZeroHash, errors.New("commitParentsStorer: SetEncodedObject not supported") |
no outgoing calls