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 FileSnapshotDirCache.snapshotKeep 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 FileSnapshotLockFile.commitSnapshotstatic final FileSnapshotFileSnapshot.DIRTYA FileSnapshot that is considered to always be modified.static final FileSnapshotFileSnapshot.MISSING_FILEA FileSnapshot that is clean if the file does not exist.private FileSnapshotObjectDirectory.shallowFileSnapshotprivate FileSnapshotFileRepository.snapshot(package private) final FileSnapshotPackDirectory.PackList.snapshotState just before reading the pack directory.private final FileSnapshotRefDirectory.PackedRefList.snapshotprivate final FileSnapshotRefDirectory.LooseNonTag.snapShotprivate final FileSnapshotRefDirectory.LoosePeeledTag.snapShotprivate final FileSnapshotRefDirectory.LooseSymbolicRef.snapShotprivate FileSnapshotRefDirectory.LooseUnpeeled.snapShotMethods in org.eclipse.jgit.internal.storage.file that return FileSnapshotModifier and TypeMethodDescriptionLockFile.getCommitSnapshot()Get theFileSnapshotjust before commit.RefDirectory.LooseNonTag.getSnapShot()RefDirectory.LoosePeeledTag.getSnapShot()RefDirectory.LooseRef.getSnapShot()RefDirectory.LooseSymbolicRef.getSnapShot()RefDirectory.LooseUnpeeled.getSnapShot()static FileSnapshotFileSnapshot.save(long modified) Deprecated.static FileSnapshotRecord a snapshot for a specific file path.static FileSnapshotRecord a snapshot for a file for which the last modification time is already known.static FileSnapshotFileSnapshot.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 TypeMethodDescriptionbooleanFileSnapshot.equals(FileSnapshot other) Compare two snapshots to see if they cache the same information.private static RefDirectory.LooseSymbolicRefRefDirectory.newSymbolicRef(FileSnapshot snapshot, String name, String target) voidFileSnapshot.setClean(FileSnapshot other) Update this snapshot when the content hasn't changed.(package private) voidRefDirectory.stored(RefDirectoryUpdate update, FileSnapshot snapshot) (package private) voidRefDirectory.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) privatePackedRefList(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.