aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/BUILD
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2024-02-20 12:43:45 -0800
committerIvan Frade <ifrade@google.com>2024-02-20 13:01:44 -0800
commite4b95ee569a26607af3a3774123b609e0426ac9a (patch)
treea0622eceb39a67c65cf375e416bcb07242efd18e /org.eclipse.jgit/BUILD
parent90674ab152102b16081bd109d7f72bc37c4040ab (diff)
downloadjgit-e4b95ee569a26607af3a3774123b609e0426ac9a.tar.gz
jgit-e4b95ee569a26607af3a3774123b609e0426ac9a.zip
DfsReader#getObjectSize: use size index if possible
getObjectSize reads the size from the first bytes of the object in the pack, using IO. For blobs and depending on the configuration, the size could be available in the object size index. Try to get the size from the object size index if available. Read from the pack otherwise. Note that GC uses #getObjectSize from the existing pack to write the next object size index. Change-Id: Ia999290c06d061cb53aa8c0a2b28b1a9761567ef
Diffstat (limited to 'org.eclipse.jgit/BUILD')
0 files changed, 0 insertions, 0 deletions