Uses of Class
org.eclipse.jgit.lib.FileMode
-
Packages that use FileMode Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.archive org.eclipse.jgit.diff Comparing file contents by computing diffs.org.eclipse.jgit.dircache Reading and editing the directory cache (index).org.eclipse.jgit.gitrepo org.eclipse.jgit.junit org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.patch Patch file parser and data structure.org.eclipse.jgit.treewalk 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 Modifier and Type Method Description void
ArchiveCommand.Format. putEntry(T out, ObjectId tree, String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive. -
Uses of FileMode in org.eclipse.jgit.archive
Methods in org.eclipse.jgit.archive with parameters of type FileMode Modifier and Type Method Description void
TarFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
Tbz2Format. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
TgzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
TxzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader)
Write an entry to an archive.void
ZipFormat. 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 FileMode Modifier and Type Field Description protected FileMode
DiffEntry. newMode
New mode of the file, if described by the patch, else null.protected FileMode
DiffEntry. oldMode
Old mode of the file, if described by the patch, else null.Methods in org.eclipse.jgit.diff that return FileMode Modifier and Type Method Description FileMode
DiffEntry. getMode(DiffEntry.Side side)
Get the mode associated with this file.FileMode
DiffEntry. getNewMode()
Get the new file modeFileMode
DiffEntry. getOldMode()
Get the old file mode -
Uses of FileMode in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that return FileMode Modifier and Type Method Description FileMode
DirCacheEntry. getFileMode()
Obtain theFileMode
for this entry.Methods in org.eclipse.jgit.dircache with parameters of type FileMode Modifier and Type Method Description void
DirCacheEntry. setFileMode(FileMode mode)
Set the file mode for this entry. -
Uses of FileMode in org.eclipse.jgit.gitrepo
Methods in org.eclipse.jgit.gitrepo that return FileMode Modifier and Type Method Description FileMode
RepoCommand.RemoteFile. getFileMode()
Constructors in org.eclipse.jgit.gitrepo with parameters of type FileMode Constructor Description RemoteFile(byte[] contents, FileMode fileMode)
-
Uses of FileMode in org.eclipse.jgit.junit
Methods in org.eclipse.jgit.junit with parameters of type FileMode Modifier and Type Method Description protected DirCacheEntry
RepositoryTestCase. createEntry(String path, FileMode mode)
CreateDirCacheEntry
protected DirCacheEntry
RepositoryTestCase. createEntry(String path, FileMode mode, int stage, String content)
CreateDirCacheEntry
protected DirCacheEntry
RepositoryTestCase. createEntry(String path, FileMode mode, String content)
CreateDirCacheEntry
-
Uses of FileMode in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib declared as FileMode Modifier and Type Field Description static FileMode
FileMode. EXECUTABLE_FILE
Mode indicating an entry is an executable file.static FileMode
FileMode. GITLINK
Mode indicating an entry is a submodule commit in another repository.static FileMode
FileMode. MISSING
Mode indicating an entry is missing during parallel walks.static FileMode
FileMode. REGULAR_FILE
Mode indicating an entry is a non-executable file.static FileMode
FileMode. SYMLINK
Mode indicating an entry is a symbolic link.static FileMode
FileMode. TREE
Mode indicating an entry is a tree (aka directory).Methods in org.eclipse.jgit.lib that return FileMode Modifier and Type Method Description static FileMode
FileMode. fromBits(int bits)
Convert a set of mode bits into a FileMode enumerated value.FileMode
IndexDiff. getIndexMode(String path)
Get the file mode of the given path in the indexMethods in org.eclipse.jgit.lib with parameters of type FileMode Modifier and Type Method Description void
TreeFormatter. append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, byte[] idBuf, int idPos)
Append any entry to the tree.void
TreeFormatter. append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id)
Append any entry to the tree.void
TreeFormatter. append(byte[] nameBuf, int namePos, int nameLen, FileMode mode, AnyObjectId id, boolean allowEmptyName)
Append any entry to the tree.void
TreeFormatter. append(byte[] name, FileMode mode, AnyObjectId id)
Append any entry to the tree.void
TreeFormatter. append(String name, FileMode mode, AnyObjectId id)
Append any entry to the tree.static int
TreeFormatter. entrySize(FileMode mode, int nameLen)
Compute the size of a tree entry record.Set<String>
IndexDiff. getPathsWithIndexMode(FileMode mode)
Get the list of paths that IndexDiff has detected to differ and have the given file mode -
Uses of FileMode in org.eclipse.jgit.patch
Methods in org.eclipse.jgit.patch that return FileMode Modifier and Type Method Description FileMode
CombinedFileHeader. getOldMode()
Get the old file modeFileMode
CombinedFileHeader. getOldMode(int nthParent)
Get the file mode of the nth ancestor -
Uses of FileMode in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return FileMode Modifier and Type Method Description FileMode
AbstractTreeIterator. getEntryFileMode()
Get the file mode of the current entry.FileMode
TreeWalk. getFileMode()
Obtain theFileMode
for the current entry on the currentHead treeFileMode
TreeWalk. getFileMode(int nth)
Obtain theFileMode
for the current entry.FileMode
WorkingTreeIterator. getIndexFileMode(DirCacheIterator indexIter)
Get the file mode to use for the current entry when it is to be updated in the index.FileMode
FileTreeIterator.DefaultFileModeStrategy. getMode(File f, FS.Attributes attributes)
FileMode
FileTreeIterator.FileEntry. getMode()
FileMode
FileTreeIterator.FileModeStrategy. getMode(File f, FS.Attributes attributes)
Compute the FileMode for a given File, based on its attributes.FileMode
FileTreeIterator.NoGitlinksStrategy. getMode(File f, FS.Attributes attributes)
abstract FileMode
WorkingTreeIterator.Entry. getMode()
Get the type of this entry.
-