Commit Diff


commit - 2b46355293364ffdc9152e59723533a465c5daff
commit + 97bcb0b4a3c4503d5e035bac764bfbd0f156c8c6
blob - 058e10a319018b29fa2724b3c6f07bf265e960f1
blob + fc53af5c7c224d102e314eefbb6c3378fec7b4bc
--- lib/fileindex.c
+++ lib/fileindex.c
@@ -800,7 +800,7 @@ got_fileindex_read(struct got_fileindex *fileindex, FI
 }
 
 uint32_t
-got_fileindex_version(struct got_fileindex *fileindex)
+got_fileindex_get_version(struct got_fileindex *fileindex)
 {
 	return fileindex->version;
 }
blob - 03397220fbdeebff0123f0ca228af8b8bc164f3f
blob + ffe9361ee22cfae0355ac626b5e8b456f4408e7d
--- lib/got_lib_fileindex.h
+++ lib/got_lib_fileindex.h
@@ -137,7 +137,7 @@ struct got_fileindex_entry *got_fileindex_entry_get(st
     const char *, size_t);
 const struct got_error *got_fileindex_read(struct got_fileindex *, FILE *,
 	enum got_hash_algorithm);
-uint32_t got_fileindex_version(struct got_fileindex *);
+uint32_t got_fileindex_get_version(struct got_fileindex *);
 typedef const struct got_error *(*got_fileindex_cb)(void *,
     struct got_fileindex_entry *);
 const struct got_error *got_fileindex_for_each_entry_safe(
blob - ac488a0bf249670e666d979a08455ec5cadb1346
blob + 40f181f83c2ab22ed7603f5e5e399bb86752005b
--- lib/worktree.c
+++ lib/worktree.c
@@ -10026,7 +10026,7 @@ got_worktree_prepare_path_info(struct got_fileindex **
 uint32_t
 got_worktree_get_fileindex_version(struct got_fileindex *fileindex)
 {
-	return got_fileindex_version(fileindex);
+	return got_fileindex_get_version(fileindex);
 }
 
 const struct got_error *