git/compat
Jeff Hostetler e7fb9d530d fscache: make fscache_enabled() public
Make fscache_enabled() function public rather than static.
Remove unneeded fscache_is_enabled() function.
Change is_fscache_enabled() macro to call fscache_enabled().

is_fscache_enabled() now takes a pathname so that the answer
is more precise and mean "is fscache enabled for this pathname",
since fscache only stores repo-relative paths and not absolute
paths, we can avoid attempting lookups for absolute paths.

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
2024-11-25 09:23:02 +01:00
..
2024-10-10 13:31:12 -07:00
2024-11-25 09:22:51 +01:00
2022-05-02 09:50:37 -07:00
2022-05-02 09:50:37 -07:00
2024-06-14 10:26:33 -07:00
2021-10-29 15:00:58 -07:00