Java org.eclipse.jgit.lib FileMode fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.lib FileMode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.lib FileMode.

The text is from its open source code.

Field

intTYPE_MASK
Mask to apply to a file mode to obtain its type bits.
intTYPE_TREE
Bit pattern for #TYPE_MASK matching #TREE .
intTYPE_SYMLINK
Bit pattern for #TYPE_MASK matching #SYMLINK .
intTYPE_FILE
Bit pattern for #TYPE_MASK matching #REGULAR_FILE .
intTYPE_GITLINK
Bit pattern for #TYPE_MASK matching #GITLINK .
intTYPE_MISSING
Bit pattern for #TYPE_MASK matching #MISSING .
FileModeTREE
Mode indicating an entry is a tree (aka directory).
FileModeSYMLINK
Mode indicating an entry is a symbolic link.
FileModeREGULAR_FILE
Mode indicating an entry is a non-executable file.
FileModeEXECUTABLE_FILE
Mode indicating an entry is an executable file.
FileModeGITLINK
Mode indicating an entry is a submodule commit in another repository.
FileModeMISSING
Mode indicating an entry is missing during parallel walks.

Method

voidcopyTo(OutputStream os)
Copy this mode as a sequence of octal US-ASCII bytes.
booleanequals(int modebits)
Test a file mode for equality with this org.eclipse.jgit.lib.FileMode object.
FileModefromBits(int bits)
Convert a set of mode bits into a FileMode enumerated value.
intgetBits()
Get the mode bits as an integer.
intgetObjectType()
Get the object type that should appear for this type of mode.
StringtoString()

Format this mode as an octal string (for debugging only).