2eba4e5b41
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> |
||
---|---|---|
.. | ||
META-INF/services | ||
org/eclipse/jgit | ||
jgit-s3-config.disabled.properties | ||
jgit-s3-config.policy.bucket.json | ||
jgit-s3-config.policy.user.json | ||
jgit-s3-connection-v-0.properties | ||
jgit-s3-connection-v-1.properties | ||
jgit-s3-connection-v-2.properties | ||
simplelogger.properties |