lstat_cache(): introduce invalidate_lstat_cache() function
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 7c8c8e484259a69bdc2c75e9e820247b0df04d01..f4452a89a7cf8929e816319b04bb00323991a064 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -722,6 +722,7 @@ extern int checkout_entry(struct cache_entry *ce, const struct checkout *state,
 extern int has_symlink_leading_path(int len, const char *name);
 extern int has_symlink_or_noent_leading_path(int len, const char *name);
 extern int has_dirs_only_path(int len, const char *name, int prefix_len);
+extern void invalidate_lstat_cache(int len, const char *name);
 
 extern struct alternate_object_database {
        struct alternate_object_database *next;