mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
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>
This commit is contained in:
committed by
Junio C Hamano
parent
64c8559575
commit
f5653856c2
16
name-hash.h
Normal file
16
name-hash.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef NAME_HASH_H
|
||||
#define NAME_HASH_H
|
||||
|
||||
struct cache_entry;
|
||||
struct index_state;
|
||||
|
||||
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);
|
||||
|
||||
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);
|
||||
|
||||
#endif /* NAME_HASH_H */
|
||||
Reference in New Issue
Block a user