libgit2/include/git2/sys
Brock Peabody 4d99c4cfc6 Allow for caching of submodules.
Added `git_repository_submodule_cache_all` to initialze a cache of
submodules on the repository so that operations looking up N
submodules are O(N) and not O(N^2).  Added a
`git_repository_submodule_cache_clear` function to remove the cache.

Also optimized the function that loads all submodules as it was itself
O(N^2) w.r.t the number of submodules, having to loop through the
`.gitmodules` file once per submodule.  I changed it to process the
`.gitmodules` file once, into a map.

Signed-off-by: David Turner <dturner@twosigma.com>
2017-01-20 17:33:56 -05:00
..
commit.h Add git_commit_amend API 2014-02-07 16:17:59 -08:00
config.h config: implement basic transactional support 2015-08-12 04:09:09 +02:00
diff.h Fix remaining documentation warnings 2015-07-27 18:32:55 -06:00
filter.h filter: clean up documentation around custom filters 2016-02-09 21:47:51 -08:00
hashsig.h Added GIT_HASHSIG_ALLOW_SMALL_FILES to allow computing signatures for small files 2015-01-14 10:17:56 -06:00
index.h index: fix contradicting comparison 2016-02-23 12:07:14 +01:00
mempack.h Spelling fixes 2014-12-04 21:06:59 -06:00
merge.h merge driver: remove check callback 2016-03-17 11:06:00 -04:00
odb_backend.h odb: freshen existing objects when writing 2016-08-04 15:12:04 -04:00
openssl.h Include git2/common.h in sys/openssl.h. 2015-01-02 15:56:03 -08:00
refdb_backend.h refdb and odb backends must provide free function 2015-10-01 00:50:37 +02:00
reflog.h reflog: move the reflog implementation into refdb_fs 2013-10-02 06:53:24 +02:00
refs.h Fix public header on sys/refs.h 2014-12-19 15:31:49 +01:00
remote.h proxy: add a payload field for the proxy options 2016-04-19 13:54:19 +02:00
repository.h Allow for caching of submodules. 2017-01-20 17:33:56 -05:00
stream.h net: use proxy options struct in the stream config 2016-04-19 13:54:19 +02:00
time.h time: Export git_time_monotonic 2016-09-13 15:52:43 +02:00
transport.h proxy: ask the user for credentials if necessary 2016-04-19 13:54:19 +02:00