MCPcopy Create free account
hub / github.com/git/git / lstat_cache_aware_rmdir

Function lstat_cache_aware_rmdir

symlinks.c:344–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342
343#undef rmdir
344int lstat_cache_aware_rmdir(const char *path)
345{
346 /* Any change in this function must be made also in `mingw_rmdir()` */
347 int ret = rmdir(path);
348
349 if (!ret)
350 invalidate_lstat_cache();
351
352 return ret;
353}

Callers

nothing calls this directly

Calls 1

invalidate_lstat_cacheFunction · 0.85

Tested by

no test coverage detected