Package | Description |
---|---|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
org.eclipse.jgit.util.io |
Utility classes for IO (streams).
|
Modifier and Type | Method and Description |
---|---|
TreeWalk.OperationType |
TreeWalk.getOperationType()
Get the operation type
|
static TreeWalk.OperationType |
TreeWalk.OperationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeWalk.OperationType[] |
TreeWalk.OperationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CoreConfig.EolStreamType |
TreeWalk.getEolStreamType(TreeWalk.OperationType opType)
Get the EOL stream type of the current entry using the config and
TreeWalk.getAttributes() . |
void |
TreeWalk.setOperationType(TreeWalk.OperationType operationType)
Set the operation type of this walk
|
Modifier and Type | Method and Description |
---|---|
static CoreConfig.EolStreamType |
EolStreamTypeUtil.detectStreamType(TreeWalk.OperationType op,
WorkingTreeOptions options,
Attributes attrs)
Convenience method used to detect if CRLF conversion has been configured
using the
global repo options
global attributes
info attributes
working tree .gitattributes
|
Copyright © 2019 Eclipse JGit Project. All rights reserved.