Package | Description |
---|---|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
Modifier and Type | Field | 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 | Description |
---|---|---|
FileSnapshot |
LockFile.getCommitSnapshot() |
|
static FileSnapshot |
FileSnapshot.save(long modified) |
Record a snapshot for a file for which the last modification time is
already known.
|
static FileSnapshot |
FileSnapshot.save(File path) |
Record a snapshot for a specific file path.
|
Modifier and Type | Method | 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 © 2018. All rights reserved.