summaryrefslogtreecommitdiff
path: root/dir.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-07-28 13:17:57 -0700
committerJunio C Hamano <gitster@pobox.com>2021-07-28 13:17:57 -0700
commite5cc59c77c875aeda93a3cdfe70c8254164324ab (patch)
tree2299898410f357bfe17235877d70fdd1147c0ac7 /dir.h
parent14793a4e37341950dc338ea7a7dbc05db37f5e9e (diff)
parent92d8ed8ac101d62183d51f280b90efb1de1bda5c (diff)
downloadgit-e5cc59c77c875aeda93a3cdfe70c8254164324ab.tar.gz
Merge branch 'ew/many-alternate-optim'
Optimization for repositories with many alternate object store. * ew/many-alternate-optim: oidtree: a crit-bit tree for odb_loose_cache oidcpy_with_padding: constify `src' arg make object_directory.loose_objects_subdir_seen a bitmap avoid strlen via strbuf_addstr in link_alt_odb_entry speed up alt_odb_usable() with many alternates
Diffstat (limited to 'dir.h')
-rw-r--r--dir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dir.h b/dir.h
index 8d0ddd8f18..b3e1a54a97 100644
--- a/dir.h
+++ b/dir.h
@@ -489,7 +489,9 @@ int remove_dir_recursively(struct strbuf *path, int flag);
int remove_path(const char *path);
int fspathcmp(const char *a, const char *b);
+int fspatheq(const char *a, const char *b);
int fspathncmp(const char *a, const char *b, size_t count);
+unsigned int fspathhash(const char *str);
/*
* The prefix part of pattern must not contains wildcards.