Uses of Class
org.eclipse.jgit.internal.storage.file.FileSnapshot
Packages that use FileSnapshot
Package
Description
Reading and editing the directory cache (index).
File based repository storage.
-
Uses of FileSnapshot in org.eclipse.jgit.dircache
Fields in org.eclipse.jgit.dircache declared as FileSnapshotModifier and TypeFieldDescriptionprivate FileSnapshot
DirCache.snapshot
Keep track of whether the index has changed or not -
Uses of FileSnapshot in org.eclipse.jgit.internal.storage.file
Subclasses of FileSnapshot in org.eclipse.jgit.internal.storage.fileFields in org.eclipse.jgit.internal.storage.file declared as FileSnapshotModifier and TypeFieldDescriptionprivate FileSnapshot
LockFile.commitSnapshot
static 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.private FileSnapshot
ObjectDirectory.shallowFileSnapshot
private FileSnapshot
FileRepository.snapshot
(package private) final FileSnapshot
PackDirectory.PackList.snapshot
State just before reading the pack directory.private final FileSnapshot
RefDirectory.PackedRefList.snapshot
private final FileSnapshot
RefDirectory.LooseNonTag.snapShot
private final FileSnapshot
RefDirectory.LoosePeeledTag.snapShot
private final FileSnapshot
RefDirectory.LooseSymbolicRef.snapShot
private FileSnapshot
RefDirectory.LooseUnpeeled.snapShot
Methods in org.eclipse.jgit.internal.storage.file that return FileSnapshotModifier and TypeMethodDescriptionLockFile.getCommitSnapshot()
Get theFileSnapshot
just before commit.RefDirectory.LooseNonTag.getSnapShot()
RefDirectory.LoosePeeledTag.getSnapShot()
RefDirectory.LooseRef.getSnapShot()
RefDirectory.LooseSymbolicRef.getSnapShot()
RefDirectory.LooseUnpeeled.getSnapShot()
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.private static RefDirectory.LooseSymbolicRef
RefDirectory.newSymbolicRef
(FileSnapshot snapshot, String name, 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, String target) Constructors in org.eclipse.jgit.internal.storage.file with parameters of type FileSnapshotModifierConstructorDescription(package private)
LooseNonTag
(FileSnapshot snapshot, String refName, ObjectId id) (package private)
LoosePeeledTag
(FileSnapshot snapshot, String refName, ObjectId id, ObjectId p) (package private)
LooseSymbolicRef
(FileSnapshot snapshot, String refName, Ref target) (package private)
LooseUnpeeled
(FileSnapshot snapShot, String refName, ObjectId id) private
PackedRefList
(RefList<Ref> src, FileSnapshot s, ObjectId i) (package private)
PackList
(FileSnapshot monitor, Pack[] packs) -
Uses of FileSnapshot in org.eclipse.jgit.internal.transport.http
Fields in org.eclipse.jgit.internal.transport.http declared as FileSnapshot -
Uses of FileSnapshot in org.eclipse.jgit.storage.file
Fields in org.eclipse.jgit.storage.file declared as FileSnapshot
save(Instant)
instead.