Line | Count | Source (jump to first uncovered line) |
1 | | #ifndef SYMLINKS_H |
2 | | #define SYMLINKS_H |
3 | | |
4 | | #include "strbuf.h" |
5 | | |
6 | | struct cache_def { |
7 | | struct strbuf path; |
8 | | int flags; |
9 | | int track_flags; |
10 | | int prefix_len_stat_func; |
11 | | }; |
12 | 0 | #define CACHE_DEF_INIT { \ |
13 | 0 | .path = STRBUF_INIT, \ |
14 | 0 | } |
15 | | static inline void cache_def_clear(struct cache_def *cache) |
16 | 0 | { |
17 | 0 | strbuf_release(&cache->path); |
18 | 0 | } Unexecuted instantiation: checkout.c:cache_def_clear Unexecuted instantiation: update-index.c:cache_def_clear Unexecuted instantiation: apply.c:cache_def_clear Unexecuted instantiation: diff-lib.c:cache_def_clear Unexecuted instantiation: dir.c:cache_def_clear Unexecuted instantiation: entry.c:cache_def_clear Unexecuted instantiation: merge-recursive.c:cache_def_clear Unexecuted instantiation: parallel-checkout.c:cache_def_clear Unexecuted instantiation: pathspec.c:cache_def_clear Unexecuted instantiation: preload-index.c:cache_def_clear Unexecuted instantiation: read-cache.c:cache_def_clear Unexecuted instantiation: run-command.c:cache_def_clear Unexecuted instantiation: symlinks.c:cache_def_clear Unexecuted instantiation: unpack-trees.c:cache_def_clear |
19 | | |
20 | | int has_symlink_leading_path(const char *name, int len); |
21 | | int threaded_has_symlink_leading_path(struct cache_def *, const char *, int); |
22 | | int check_leading_path(const char *name, int len, int warn_on_lstat_err); |
23 | | int has_dirs_only_path(const char *name, int len, int prefix_len); |
24 | | void invalidate_lstat_cache(void); |
25 | | void schedule_dir_for_removal(const char *name, int len); |
26 | | void remove_scheduled_dirs(void); |
27 | | |
28 | | #endif /* SYMLINKS_H */ |