- getEntry
Get a specific entry.
- getEntryCount
Total number of file entries stored in the index. This count includes unmerged
stages for a file ent
- newInCore
Create a new empty index which is never stored on disk.
- writeTree
Write all index trees to the object store, returning the root tree.
- builder
Create a new builder to update this cache. Callers should add all entries to the
builder, then use D
- editor
Create a new editor to recreate this cache. Callers should add commands to the
editor, then use DirC
- read
Create a new in-core index representation and read an index from disk. The new
index will be read be
- clear
Empty this index, removing all entries.
- commit
Commit this change and release the lock. If this method fails (returns false)
the lock is still rele
- findEntry
Locate the position a path's entry is at in the index. If there is at least one
entry in the index f
- unlock
Unlock this file and abort this change. The temporary file (if created) is
deleted before returning.
- write
Write the entry records from memory to disk. The cache must be locked first by
calling #lock() and r