]> source.dussan.org Git - jgit.git/commit
Split out packfile handling from ObjectDirectory 59/122059/6
authorMartin Fick <mfick@codeaurora.org>
Wed, 25 Apr 2018 17:59:21 +0000 (11:59 -0600)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 12 Dec 2020 22:15:21 +0000 (23:15 +0100)
commita84a2d22abef94eb632e3da711622638e354e516
tree1f1fcde9dbdd55465497c8d3f5fa0c77b8572351
parente3ac56e2d0477b10993f2895f7a1a7cf1c40a3d5
Split out packfile handling from ObjectDirectory

The ObjectDirectory class manages the interactions for the entire object
database, this includes loose objects, packfiles, alternates, and
shallow commits. To help reduce the complexity of this class, abstract
some of the packfile specific details into a class which understands
just this, leaving the ObjectDirectory to focus more on the interactions
between the different mechanisms.

Change-Id: I5cc87b964434b0afa860b3fe23867a77b3c3a4f2
Signed-off-by: Martin Fick <mfick@codeaurora.org>
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/ObjectDirectory.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackDirectory.java [new file with mode: 0644]