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.notes Git notes processing (for commits, etc).org.eclipse.jgit.patch Patch file parser and data structure.org.eclipse.jgit.pgm 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 voidArchiveCommand.Format. putEntry(T out, ObjectId tree, java.lang.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 voidTarFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidTbz2Format. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidTgzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidTxzFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.String path, FileMode mode, ObjectLoader loader)Write an entry to an archive.voidZipFormat. putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, java.lang.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 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 FileMode Modifier and Type Method Description FileModeDiffEntry. getMode(DiffEntry.Side side)Get the mode associated with this file.FileModeDiffEntry. getNewMode()Get the new file modeFileModeDiffEntry. getOldMode()Get the old file modeprivate static FileModeRenameDetector. mode(DiffEntry de)Methods in org.eclipse.jgit.diff with parameters of type FileMode Modifier and Type Method Description private static booleanSimilarityRenameDetector. isFile(FileMode mode)(package private) static booleanRenameDetector. sameType(FileMode a, FileMode b) -
Uses of FileMode in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache that return FileMode Modifier and Type Method Description FileModeDirCacheEntry. getFileMode()Obtain theFileModefor this entry.Methods in org.eclipse.jgit.dircache with parameters of type FileMode Modifier and Type Method Description private booleanDirCacheCheckout. equalIdAndMode(ObjectId id1, FileMode mode1, ObjectId id2, FileMode mode2)Compares whether two pairs of ObjectId and FileMode are equal.private booleanDirCacheCheckout. isModified_IndexTree(java.lang.String path, ObjectId iId, FileMode iMode, ObjectId tId, FileMode tMode, ObjectId rootTree)voidDirCacheEntry. setFileMode(FileMode mode)Set the file mode for this entry.private voidDirCacheCheckout. update(java.lang.String path, ObjectId mId, FileMode mode) -
Uses of FileMode in org.eclipse.jgit.gitrepo
Fields in org.eclipse.jgit.gitrepo declared as FileMode Modifier and Type Field Description private FileModeRepoCommand.RemoteFile. fileModeMethods in org.eclipse.jgit.gitrepo that return FileMode Modifier and Type Method Description FileModeRepoCommand.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 DirCacheEntryRepositoryTestCase. createEntry(java.lang.String path, FileMode mode)CreateDirCacheEntryprotected DirCacheEntryRepositoryTestCase. createEntry(java.lang.String path, FileMode mode, int stage, java.lang.String content)CreateDirCacheEntryprotected DirCacheEntryRepositoryTestCase. createEntry(java.lang.String path, FileMode mode, java.lang.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 FileModeFileMode. EXECUTABLE_FILEMode indicating an entry is an executable file.static FileModeFileMode. GITLINKMode indicating an entry is a submodule commit in another repository.static FileModeFileMode. MISSINGMode indicating an entry is missing during parallel walks.private FileModeFileModeCache.CacheItem. modestatic FileModeFileMode. REGULAR_FILEMode indicating an entry is a non-executable file.static FileModeFileMode. SYMLINKMode indicating an entry is a symbolic link.static FileModeFileMode. TREEMode indicating an entry is a tree (aka directory).Fields in org.eclipse.jgit.lib with type parameters of type FileMode Modifier and Type Field Description private java.util.Map<FileMode,java.util.Set<java.lang.String>>IndexDiff. fileModesMethods in org.eclipse.jgit.lib that return FileMode Modifier and Type Method Description static FileModeFileMode. fromBits(int bits)Convert a set of mode bits into a FileMode enumerated value.FileModeIndexDiff. getIndexMode(java.lang.String path)Get the file mode of the given path in the indexFileModeFileModeCache.CacheItem. getMode()Retrieves the cachedFileMode.Methods in org.eclipse.jgit.lib with parameters of type FileMode Modifier and Type Method Description private FileModeCache.CacheItemFileModeCache. add(java.lang.String gitPath, FileMode finalMode)Records the givenFileModefor the given git path in the cache.voidTreeFormatter. 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(java.lang.String name, FileMode mode, AnyObjectId id)Append any entry to the tree.static intTreeFormatter. entrySize(FileMode mode, int nameLen)Compute the size of a tree entry record.private booleanTreeFormatter. fmtBuf(byte[] nameBuf, int namePos, int nameLen, FileMode mode)private voidTreeFormatter. fmtOverflowBuffer(byte[] nameBuf, int namePos, int nameLen, FileMode mode)java.util.Set<java.lang.String>IndexDiff. getPathsWithIndexMode(FileMode mode)Get the list of paths that IndexDiff has detected to differ and have the given file modeFileModeCache.CacheItemFileModeCache.CacheItem. insert(java.lang.String childName, FileMode childMode)Inserts a new cachedFileModeas an immediate child of thisFileModeCache.CacheItem.private voidIndexDiff. recordFileMode(java.lang.String path, FileMode mode)(package private) voidFileModeCache.CacheItem. setMode(FileMode mode)Constructors in org.eclipse.jgit.lib with parameters of type FileMode Constructor Description CacheItem(FileMode mode)Creates a newFileModeCache.CacheItem. -
Uses of FileMode in org.eclipse.jgit.notes
Fields in org.eclipse.jgit.notes declared as FileMode Modifier and Type Field Description private FileModeNonNoteEntry. modeMode of the entry as parsed from the tree.Methods in org.eclipse.jgit.notes with parameters of type FileMode Modifier and Type Method Description (package private) intNonNoteEntry. pathCompare(byte[] bBuf, int bPos, int bLen, FileMode bMode)Constructors in org.eclipse.jgit.notes with parameters of type FileMode Constructor Description NonNoteEntry(byte[] name, FileMode mode, AnyObjectId id) -
Uses of FileMode in org.eclipse.jgit.patch
Fields in org.eclipse.jgit.patch declared as FileMode Modifier and Type Field Description private FileMode[]CombinedFileHeader. oldModesMethods in org.eclipse.jgit.patch that return FileMode Modifier and Type Method Description FileModeCombinedFileHeader. getOldMode()Get the old file modeFileModeCombinedFileHeader. 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 FileMode Modifier and Type Method Description private booleanLsFiles. filterFileMode(TreeWalk tw, FileMode... modes) -
Uses of FileMode in org.eclipse.jgit.treewalk
Fields in org.eclipse.jgit.treewalk declared as FileMode Modifier and Type Field Description private FileModeFileTreeIterator.FileEntry. modeMethods in org.eclipse.jgit.treewalk that return FileMode Modifier and Type Method Description FileModeAbstractTreeIterator. getEntryFileMode()Get the file mode of the current entry.FileModeTreeWalk. getFileMode()Obtain theFileModefor the current entry on the currentHead treeFileModeTreeWalk. getFileMode(int nth)Obtain theFileModefor the current entry.FileModeWorkingTreeIterator. getIndexFileMode(DirCacheIterator indexIter)Get the file mode to use for the current entry when it is to be updated in the index.FileModeFileTreeIterator.DefaultFileModeStrategy. getMode(java.io.File f, FS.Attributes attributes)FileModeFileTreeIterator.FileEntry. getMode()FileModeFileTreeIterator.FileModeStrategy. getMode(java.io.File f, FS.Attributes attributes)Compute the FileMode for a given File, based on its attributes.FileModeFileTreeIterator.NoGitlinksStrategy. getMode(java.io.File f, FS.Attributes attributes)abstract FileModeWorkingTreeIterator.Entry. getMode()Get the type of this entry.
-