Package | Description |
---|---|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
FileSnapshot |
LockFile.getCommitSnapshot() |
static FileSnapshot |
FileSnapshot.save(File path)
Record a snapshot for a specific file path.
|
static FileSnapshot |
FileSnapshot.save(long modified)
Record a snapshot for a file for which the last modification time is
already known.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileSnapshot.equals(FileSnapshot other)
Compare two snapshots to see if they cache the same information.
|
void |
FileSnapshot.setClean(FileSnapshot other)
Update this snapshot when the content hasn't changed.
|
Copyright © 2017 Eclipse JGit Project. All rights reserved.