diff options
Diffstat (limited to 'c_src/filebuffer.c')
-rw-r--r-- | c_src/filebuffer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c_src/filebuffer.c b/c_src/filebuffer.c index 40b79ad..d35bfa7 100644 --- a/c_src/filebuffer.c +++ b/c_src/filebuffer.c @@ -63,6 +63,12 @@ bf_lastcommit(buffered_file *file) return file->lastcommit; } +void +bf_setlastcommit(buffered_file *file, uint64_t lastcommit) +{ + file->lastcommit = lastcommit; +} + const char * bf_name(buffered_file *file) { |