Uses of Class
org.eclipse.jgit.lib.FileMode
Packages that use FileMode
Package
Description
High-level API commands (the porcelain of JGit).
Comparing file contents by computing diffs.
Reading and editing the directory cache (index).
Core API for repository, config, refs, object database.
Git notes processing (for commits, etc).
Patch file parser and data structure.
Walking and comparing directory/file trees (of commits, file system).
-
Uses of FileMode in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type FileMode -
Uses of FileMode in org.eclipse.jgit.archive
Methods in org.eclipse.jgit.archive with parameters of type FileModeModifier and TypeMethodDescriptionvoidTarFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTbz2Format.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTgzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTxzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidZipFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive. -
Uses of FileMode in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as FileModeModifier and TypeFieldDescriptionprotected FileModeDiffEntry.newModeNew mode of the file, if described by the patch, else null.protected FileModeDiffEntry.oldModeOld mode of the file, if described by the patch, else null.Methods in org.eclipse.jgit.diff that return FileModeModifier and TypeMethodDescriptionDiffEntry.getMode(DiffEntry.Side side) Get the mode associated with this file.DiffEntry.getNewMode()Get the new file modeDiffEntry.getOldMode()Get the old file modeprivate static FileModeMethods in org.eclipse.jgit.diff with parameters of type FileMode -
Uses of FileMode in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that return FileModeModifier and TypeMethodDescriptionDirCacheEntry.getFileMode()Obtain theFileModefor this entry.Methods in org.eclipse.jgit.dircache with parameters of type FileModeModifier and TypeMethodDescriptionprivate booleanDirCacheCheckout.equalIdAndMode(ObjectId id1, FileMode mode1, ObjectId id2, FileMode mode2) Compares whether two pairs of ObjectId and FileMode are equal.private booleanDirCacheCheckout.isModified_IndexTree(String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree) voidDirCacheEntry.setFileMode(FileMode mode) Set the file mode for this entry.private void -
Uses of FileMode in org.eclipse.jgit.gitrepo
Fields in org.eclipse.jgit.gitrepo declared as FileModeMethods in org.eclipse.jgit.gitrepo that return FileModeConstructors in org.eclipse.jgit.gitrepo with parameters of type FileMode -
Uses of FileMode in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib declared as FileModeModifier and TypeFieldDescriptionstatic final FileModeFileMode.EXECUTABLE_FILEMode indicating an entry is an executable file.static final FileModeFileMode.GITLINKMode indicating an entry is a submodule commit in another repository.static final FileModeFileMode.MISSINGMode indicating an entry is missing during parallel walks.static final FileModeFileMode.REGULAR_FILEMode indicating an entry is a non-executable file.static final FileModeFileMode.SYMLINKMode indicating an entry is a symbolic link.static final FileModeFileMode.TREEMode indicating an entry is a tree (aka directory).Fields in org.eclipse.jgit.lib with type parameters of type FileModeMethods in org.eclipse.jgit.lib that return FileModeModifier and TypeMethodDescriptionstatic final FileModeFileMode.fromBits(int bits) Convert a set of mode bits into a FileMode enumerated value.IndexDiff.getIndexMode(String path) Get the file mode of the given path in the indexMethods in org.eclipse.jgit.lib with parameters of type FileModeModifier and TypeMethodDescriptionvoidTreeFormatter.append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, byte[] idBuf, int idPos) Append any entry to the tree.voidTreeFormatter.append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id) Append any entry to the tree.voidTreeFormatter.append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id, boolean allowEmptyName) Append any entry to the tree.voidTreeFormatter.append(byte[] name, FileMode mode, AnyObjectId id) Append any entry to the tree.voidTreeFormatter.append(String name, FileMode mode, AnyObjectId id) Append any entry to the tree.static intCompute the size of a tree entry record.private booleanprivate voidTreeFormatter.fmtOverflowBuffer(byte[] nameBuf, int namePos, int nameLen, FileMode mode) IndexDiff.getPathsWithIndexMode(FileMode mode) Get the list of paths that IndexDiff has detected to differ and have the given file modeprivate voidIndexDiff.recordFileMode(String path, FileMode mode) -
Uses of FileMode in org.eclipse.jgit.notes
Fields in org.eclipse.jgit.notes declared as FileModeModifier and TypeFieldDescriptionprivate final FileModeNonNoteEntry.modeMode of the entry as parsed from the tree.Methods in org.eclipse.jgit.notes with parameters of type FileModeModifier and TypeMethodDescription(package private) intNonNoteEntry.pathCompare(byte[] bBuf, int bPos, int bLen, FileMode bMode) Constructors in org.eclipse.jgit.notes with parameters of type FileModeModifierConstructorDescription(package private)NonNoteEntry(byte[] name, FileMode mode, AnyObjectId id) -
Uses of FileMode in org.eclipse.jgit.patch
Fields in org.eclipse.jgit.patch declared as FileModeMethods in org.eclipse.jgit.patch that return FileModeModifier and TypeMethodDescriptionCombinedFileHeader.getOldMode()Get the old file modeCombinedFileHeader.getOldMode(int nthParent) Get the file mode of the nth ancestor(package private) FileModeFileHeader.parseFileMode(int ptr, int end) -
Uses of FileMode in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm with parameters of type FileModeModifier and TypeMethodDescriptionprivate booleanLsFiles.filterFileMode(TreeWalk tw, FileMode... modes) -
Uses of FileMode in org.eclipse.jgit.treewalk
Fields in org.eclipse.jgit.treewalk declared as FileModeMethods in org.eclipse.jgit.treewalk that return FileModeModifier and TypeMethodDescriptionAbstractTreeIterator.getEntryFileMode()Get the file mode of the current entry.TreeWalk.getFileMode()Obtain theFileModefor the current entry on the currentHead treeTreeWalk.getFileMode(int nth) Obtain theFileModefor the current entry.WorkingTreeIterator.getIndexFileMode(DirCacheIterator indexIter) Get the file mode to use for the current entry when it is to be updated in the index.FileTreeIterator.DefaultFileModeStrategy.getMode(File f, FS.Attributes attributes) FileTreeIterator.FileEntry.getMode()FileTreeIterator.FileModeStrategy.getMode(File f, FS.Attributes attributes) Compute the FileMode for a given File, based on its attributes.FileTreeIterator.NoGitlinksStrategy.getMode(File f, FS.Attributes attributes) abstract FileModeWorkingTreeIterator.Entry.getMode()Get the type of this entry.