java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsObjDatabase.PackList
- Enclosing class:
- DfsObjDatabase
Snapshot of packs scanned in a single pass.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal DfsPackFile[]
All known packs, sorted.final DfsReftable[]
All known reftables, sorted. -
Method Summary
Modifier and TypeMethodDescriptionlong
Get last modified time of all packsabstract void
Mark pack list as dirty.
-
Field Details
-
packs
All known packs, sorted. -
reftables
All known reftables, sorted.
-
-
Method Details
-
getLastModified
public long getLastModified()Get last modified time of all packs- Returns:
- last modified time of all packs, in milliseconds.
-
markDirty
public abstract void markDirty()Mark pack list as dirty.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.
-