Commit Diff


commit - af4ba62f1a7f283b47bd5e4a43573f550347d93b
commit + 70cea17ff7df1d1c70cefb074ffba2d8749ca4a3
blob - c5f4e9675da942e0ff7a4d547735205fbd74cca4
blob + 6ddd929ab113d775d617c28c07573f2012ec924c
--- lib/fileindex.c
+++ lib/fileindex.c
@@ -803,7 +803,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 - 53f5a16a4bf6d297aeddeb59bb153845fc6485b3
blob + 56a6662106eec9f8fe5d71909c8c9712a67c3eed
--- lib/worktree.c
+++ lib/worktree.c
@@ -10029,7 +10029,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 *