Class DfsObjDatabase.PackList

  • Enclosing class:

    public abstract static class DfsObjDatabase.PackList
    extends Object
    Snapshot of packs scanned in a single pass.
    • Field Detail

      • packs

        public final DfsPackFile[] packs
        All known packs, sorted.
      • reftables

        public final DfsReftable[] reftables
        All known reftables, sorted.
    • Method Detail

      • getLastModified

        public long getLastModified()
        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.