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

Function close_cached_dir

dir.c:2631–2643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2629}
2630
2631static void close_cached_dir(struct cached_dir *cdir)
2632{
2633 if (cdir->fdir)
2634 closedir(cdir->fdir);
2635 /*
2636 * We have gone through this directory and found no untracked
2637 * entries. Mark it valid.
2638 */
2639 if (cdir->untracked) {
2640 cdir->untracked->valid = 1;
2641 cdir->untracked->recurse = 1;
2642 }
2643}
2644
2645static void add_path_to_appropriate_result_list(struct dir_struct *dir,
2646 struct untracked_cache_dir *untracked,

Callers 1

read_directory_recursiveFunction · 0.85

Calls 1

closedirFunction · 0.85

Tested by

no test coverage detected