Package | Description |
---|---|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.internal.transport.http | |
org.eclipse.jgit.storage.file |
Modifier and Type | Field and Description |
---|---|
private FileSnapshot |
DirCache.snapshot
Keep track of whether the index has changed or not
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
PackFileSnapshot |
Modifier and Type | Field and Description |
---|---|
private FileSnapshot |
LockFile.commitSnapshot |
static FileSnapshot |
FileSnapshot.DIRTY
A FileSnapshot that is considered to always be modified.
|
static FileSnapshot |
FileSnapshot.MISSING_FILE
A FileSnapshot that is clean if the file does not exist.
|
private FileSnapshot |
ObjectDirectory.shallowFileSnapshot |
(package private) FileSnapshot |
ObjectDirectory.PackList.snapshot
State just before reading the pack directory.
|
private FileSnapshot |
RefDirectory.PackedRefList.snapshot |
private FileSnapshot |
FileRepository.snapshot |
private FileSnapshot |
RefDirectory.LoosePeeledTag.snapShot |
private FileSnapshot |
RefDirectory.LooseNonTag.snapShot |
private FileSnapshot |
RefDirectory.LooseUnpeeled.snapShot |
private FileSnapshot |
RefDirectory.LooseSymbolicRef.snapShot |
Modifier and Type | Method and Description |
---|---|
FileSnapshot |
LockFile.getCommitSnapshot()
Get the
FileSnapshot just before commit. |
FileSnapshot |
RefDirectory.LooseRef.getSnapShot() |
FileSnapshot |
RefDirectory.LoosePeeledTag.getSnapShot() |
FileSnapshot |
RefDirectory.LooseNonTag.getSnapShot() |
FileSnapshot |
RefDirectory.LooseUnpeeled.getSnapShot() |
FileSnapshot |
RefDirectory.LooseSymbolicRef.getSnapShot() |
static FileSnapshot |
FileSnapshot.save(java.io.File path)
Record a snapshot for a specific file path.
|
static FileSnapshot |
FileSnapshot.save(java.time.Instant modified)
Record a snapshot for a file for which the last modification time is
already known.
|
static FileSnapshot |
FileSnapshot.save(long modified)
Deprecated.
use
save(Instant) instead. |
static FileSnapshot |
FileSnapshot.saveNoConfig(java.io.File path)
Record a snapshot for a specific file path without using config file to
get filesystem timestamp resolution.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileSnapshot.equals(FileSnapshot other)
Compare two snapshots to see if they cache the same information.
|
private static RefDirectory.LooseSymbolicRef |
RefDirectory.newSymbolicRef(FileSnapshot snapshot,
java.lang.String name,
java.lang.String target) |
void |
FileSnapshot.setClean(FileSnapshot other)
Update this snapshot when the content hasn't changed.
|
(package private) void |
RefDirectory.stored(RefDirectoryUpdate update,
FileSnapshot snapshot) |
(package private) void |
RefDirectory.storedSymbolicRef(RefDirectoryUpdate u,
FileSnapshot snapshot,
java.lang.String target) |
Constructor and Description |
---|
LooseNonTag(FileSnapshot snapshot,
java.lang.String refName,
ObjectId id) |
LoosePeeledTag(FileSnapshot snapshot,
java.lang.String refName,
ObjectId id,
ObjectId p) |
LooseSymbolicRef(FileSnapshot snapshot,
java.lang.String refName,
Ref target) |
LooseUnpeeled(FileSnapshot snapShot,
java.lang.String refName,
ObjectId id) |
PackedRefList(RefList<Ref> src,
FileSnapshot s,
ObjectId i) |
PackList(FileSnapshot monitor,
PackFile[] packs) |
Modifier and Type | Field and Description |
---|---|
private FileSnapshot |
NetscapeCookieFile.snapshot |
Modifier and Type | Field and Description |
---|---|
private FileSnapshot |
FileBasedConfig.snapshot |