summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2017-08-18 15:20:33 -0700
committerJunio C Hamano <gitster@pobox.com>2017-08-23 15:12:07 -0700
commita2551953b9619b285128c1e9cf35120fb7555d8f (patch)
tree719abecbe407fddd939f846e66c90fa657916a99 /cache.h
parent9e0f45f5a61d9d0556e6004198dd6a650be14bd9 (diff)
downloadgit-a2551953b9619b285128c1e9cf35120fb7555d8f.tar.gz
pack: move find_pack_entry_one(), is_pack_valid()
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cache.h b/cache.h
index 1a8b22779a..c13345d641 100644
--- a/cache.h
+++ b/cache.h
@@ -1621,14 +1621,6 @@ extern int odb_mkstemp(struct strbuf *template, const char *pattern);
extern int odb_pack_keep(const char *name);
/*
- * If the object named sha1 is present in the specified packfile,
- * return its offset within the packfile; otherwise, return 0.
- */
-extern off_t find_pack_entry_one(const unsigned char *sha1, struct packed_git *);
-
-extern int is_pack_valid(struct packed_git *);
-
-/*
* Iterate over the files in the loose-object parts of the object
* directory "path", triggering the following callbacks:
*