Uses of Class
org.eclipse.jgit.internal.storage.file.FileSnapshot
Packages that use FileSnapshot
-
Uses of FileSnapshot in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as FileSnapshotModifier and TypeFieldDescriptionstatic final FileSnapshot
FileSnapshot.DIRTY
A FileSnapshot that is considered to always be modified.static final 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 FileSnapshotModifier and TypeMethodDescriptionLockFile.getCommitSnapshot()
Get theFileSnapshot
just before commit.static FileSnapshot
FileSnapshot.save
(long modified) Deprecated.static FileSnapshot
Record a snapshot for a specific file path.static FileSnapshot
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 FileSnapshotModifier and TypeMethodDescriptionboolean
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.
save(Instant)
instead.