MarkWantWrite marks this ObjectToPack as WantWrite to avoid delta chain loops
()
| 69 | // MarkWantWrite marks this ObjectToPack as WantWrite |
| 70 | // to avoid delta chain loops |
| 71 | func (o *ObjectToPack) MarkWantWrite() { |
| 72 | o.Offset = 1 |
| 73 | } |
| 74 | |
| 75 | // WantWrite checks if this ObjectToPack was marked as WantWrite before |
| 76 | func (o *ObjectToPack) WantWrite() bool { |