summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-05-16 06:33:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-06-21 20:39:53 (GMT)
commitf5653856c26efb2ce722148060518817af2ab023 (patch)
tree3b0291ab941ea62464de82524b8eac0ae059e2b2 /cache.h
parent64c8559575a2d91bad66a3c0a7067d9275dd5905 (diff)
downloadgit-f5653856c26efb2ce722148060518817af2ab023.zip
git-f5653856c26efb2ce722148060518817af2ab023.tar.gz
git-f5653856c26efb2ce722148060518817af2ab023.tar.bz2
name-hash.h: move declarations for name-hash.c from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/cache.h b/cache.h
index d31b151..316904d 100644
--- a/cache.h
+++ b/cache.h
@@ -245,12 +245,6 @@ struct index_state {
void index_state_init(struct index_state *istate, struct repository *r);
void release_index(struct index_state *istate);
-/* Name hashing */
-int test_lazy_init_name_hash(struct index_state *istate, int try_threaded);
-void add_name_hash(struct index_state *istate, struct cache_entry *ce);
-void remove_name_hash(struct index_state *istate, struct cache_entry *ce);
-void free_name_hash(struct index_state *istate);
-
/* Cache entry creation and cleanup */
/*
@@ -377,9 +371,6 @@ int repo_index_has_changes(struct repository *repo,
int verify_path(const char *path, unsigned mode);
int strcmp_offset(const char *s1, const char *s2, size_t *first_change);
-int index_dir_exists(struct index_state *istate, const char *name, int namelen);
-void adjust_dirname_case(struct index_state *istate, char *name);
-struct cache_entry *index_file_exists(struct index_state *istate, const char *name, int namelen, int igncase);
/*
* Searches for an entry defined by name and namelen in the given index.