MCPcopy Index your code
hub / github.com/git/git / reset_lstat_cache

Function reset_lstat_cache

symlinks.c:46–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44static struct cache_def default_cache = CACHE_DEF_INIT;
45
46static inline void reset_lstat_cache(struct cache_def *cache)
47{
48 strbuf_reset(&cache->path);
49 cache->flags = 0;
50 /*
51 * The track_flags and prefix_len_stat_func members is only
52 * set by the safeguard rule inside lstat_cache()
53 */
54}
55
56#define FL_DIR (1 << 0)
57#define FL_NOENT (1 << 1)

Callers 2

lstat_cache_matchlenFunction · 0.85
invalidate_lstat_cacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected