WantWrite checks if this ObjectToPack was marked as WantWrite before
()
| 74 | |
| 75 | // WantWrite checks if this ObjectToPack was marked as WantWrite before |
| 76 | func (o *ObjectToPack) WantWrite() bool { |
| 77 | return o.Offset == 1 |
| 78 | } |
| 79 | |
| 80 | // SetOriginal sets both Original and saves size, type and hash. If object |
| 81 | // is nil Original is set but previous resolved values are kept |