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.
|
getLastModifiedPackListImpl(DfsPackFile[] packs, DfsReftable[] reftables)
boolean dirty()
dirty in class DfsObjDatabase.PackListvoid clearDirty()
clearDirty in class DfsObjDatabase.PackListpublic void markDirty()
DfsObjDatabase.PackListUsed 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