private static final class DfsObjDatabase.PackListImpl extends DfsObjDatabase.PackList
Modifier and Type | Field and Description |
---|---|
private boolean |
dirty |
packs, reftables
Constructor and Description |
---|
PackListImpl(DfsPackFile[] packs,
DfsReftable[] reftables) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
clearDirty() |
(package private) boolean |
dirty() |
void |
markDirty()
Mark pack list as dirty.
|
getLastModified
PackListImpl(DfsPackFile[] packs, DfsReftable[] reftables)
boolean dirty()
dirty
in class DfsObjDatabase.PackList
void clearDirty()
clearDirty
in class DfsObjDatabase.PackList
public void markDirty()
DfsObjDatabase.PackList
Used when the caller knows that new data might have been written to the repository that could invalidate open readers depending on this pack list, for example if refs are newly scanned.
markDirty
in class DfsObjDatabase.PackList