| 205 | } |
| 206 | |
| 207 | void hashfile_checkpoint(struct hashfile *f, struct hashfile_checkpoint *checkpoint) |
| 208 | { |
| 209 | hashflush(f); |
| 210 | checkpoint->offset = f->total; |
| 211 | git_hash_clone(&checkpoint->ctx, &f->ctx); |
| 212 | } |
| 213 | |
| 214 | int hashfile_truncate(struct hashfile *f, struct hashfile_checkpoint *checkpoint) |
| 215 | { |
nothing calls this directly
no test coverage detected