jgit/org.eclipse.jgit.test/tst-rsrc
Anna Papitto 2eba4e5b41 PackReverseIndex: open file if present otherwise compute
The existing #read and #computeFromIndex static builder methods require
the caller to choose whether to supply an input stream of a reverse
index file or a forward index to compute the reverse index from, which
is slower.

Allow a caller to provide a file path where the pack's reverse index
might be and the pack's forward index index and simply get some reverse
index instance back. Prefer opening and parsing the file if it is
present, to save computation time. Otherwise, fall back onto computing
the reverse index from the pack's forward index.

Change-Id: I09bdd4b813ad62c86add586417b2ab86e9331aec
Signed-off-by: Anna Papitto <annapapitto@google.com>
2023-07-18 15:19:26 -07:00
..
META-INF/services Ignore trailing comments in transport SPI parsing 2012-03-21 14:07:55 -07:00
org/eclipse/jgit PackReverseIndex: open file if present otherwise compute 2023-07-18 15:19:26 -07:00
jgit-s3-config.disabled.properties AmazonS3: Add support for AWS API signature version 4 2022-06-13 09:44:23 +02:00
jgit-s3-config.policy.bucket.json Adding AES Walk Encryption support in http://www.jets3t.org/ mode 2015-10-18 19:14:31 +00:00
jgit-s3-config.policy.user.json Adding AES Walk Encryption support in http://www.jets3t.org/ mode 2015-10-18 19:14:31 +00:00
jgit-s3-connection-v-0.properties Adding JGitV1 and JGitV2 Walk Encryption 2015-10-18 23:22:56 +02:00
jgit-s3-connection-v-1.properties Adding JGitV1 and JGitV2 Walk Encryption 2015-10-18 23:22:56 +02:00
jgit-s3-connection-v-2.properties Adding JGitV1 and JGitV2 Walk Encryption 2015-10-18 23:22:56 +02:00
simplelogger.properties Use slf4j-simple instead of log4j for logging 2021-12-31 01:09:52 +01:00