|
|
@@ -26,6 +26,8 @@ import org.eclipse.jgit.util.RefList; |
|
|
|
* is garbage collected. Closing the repository has no impact on its memory. |
|
|
|
*/ |
|
|
|
public class InMemoryRepository extends DfsRepository { |
|
|
|
private static final AtomicInteger packId = new AtomicInteger(); |
|
|
|
|
|
|
|
private final DfsObjDatabase objdb; |
|
|
|
|
|
|
|
private final DfsRefDatabase refdb; |
|
|
@@ -60,7 +62,6 @@ public class InMemoryRepository extends DfsRepository { |
|
|
|
} |
|
|
|
|
|
|
|
private class MemObjDatabase extends DfsObjDatabase { |
|
|
|
private final AtomicInteger packId = new AtomicInteger(); |
|
|
|
private List<DfsPackDescription> packs = new ArrayList<DfsPackDescription>(); |
|
|
|
|
|
|
|
MemObjDatabase(DfsRepository repo) { |