]> git.ipfire.org Git - thirdparty/git.git/blame - name-hash.h
Merge branch 'tb/make-indent-conditional-with-non-spaces'
[thirdparty/git.git] / name-hash.h
CommitLineData
f5653856
EN
1#ifndef NAME_HASH_H
2#define NAME_HASH_H
3
4struct cache_entry;
5struct index_state;
6
b3165523
JH
7
8int index_dir_find(struct index_state *istate, const char *name, int namelen,
9 struct strbuf *canonical_path);
10
11#define index_dir_exists(i, n, l) index_dir_find((i), (n), (l), NULL)
12
f5653856
EN
13void adjust_dirname_case(struct index_state *istate, char *name);
14struct cache_entry *index_file_exists(struct index_state *istate, const char *name, int namelen, int igncase);
15
16int test_lazy_init_name_hash(struct index_state *istate, int try_threaded);
17void add_name_hash(struct index_state *istate, struct cache_entry *ce);
18void remove_name_hash(struct index_state *istate, struct cache_entry *ce);
19void free_name_hash(struct index_state *istate);
20
21#endif /* NAME_HASH_H */