Uses of Class
org.eclipse.jgit.internal.storage.file.FileSnapshot
-
Packages that use FileSnapshot Package Description org.eclipse.jgit.benchmarks org.eclipse.jgit.internal.storage.file File based repository storage. -
-
Uses of FileSnapshot in org.eclipse.jgit.benchmarks
Methods in org.eclipse.jgit.benchmarks that return FileSnapshot Modifier and Type Method Description FileSnapshot
CreateFileSnapshotBenchmark. testCreateFileSnapshot()
-
Uses of FileSnapshot in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as FileSnapshot 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.Methods in org.eclipse.jgit.internal.storage.file that return FileSnapshot Modifier and Type Method Description FileSnapshot
LockFile. getCommitSnapshot()
Get theFileSnapshot
just before commit.static FileSnapshot
FileSnapshot. save(long modified)
Deprecated.usesave(Instant)
instead.static FileSnapshot
FileSnapshot. save(File path)
Record a snapshot for a specific file path.static FileSnapshot
FileSnapshot. save(Instant modified)
Record a snapshot for a file for which the last modification time is already known.static FileSnapshot
FileSnapshot. saveNoConfig(File path)
Record a snapshot for a specific file path without using config file to get filesystem timestamp resolution.Methods in org.eclipse.jgit.internal.storage.file with parameters of type FileSnapshot 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.
-