Package | Description |
---|---|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
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 | Field and Description |
---|---|
CoreConfig.EolStreamType |
DirCacheCheckout.CheckoutMetadata.eolStreamType
git attributes
|
Constructor and Description |
---|
CheckoutMetadata(CoreConfig.EolStreamType eolStreamType,
String smudgeFilterCommand) |
Modifier and Type | Method and Description |
---|---|
static CoreConfig.EolStreamType |
CoreConfig.EolStreamType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoreConfig.EolStreamType[] |
CoreConfig.EolStreamType.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 |
WorkingTreeIterator.getEolStreamType()
Get the eol stream type for the current entry.
|
CoreConfig.EolStreamType |
TreeWalk.getEolStreamType(TreeWalk.OperationType opType)
Get the EOL stream type of the current entry using the config and
TreeWalk.getAttributes() . |
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
|
Modifier and Type | Method and Description |
---|---|
static InputStream |
EolStreamTypeUtil.wrapInputStream(InputStream in,
CoreConfig.EolStreamType conversion)
Wrap the input stream depending on
CoreConfig.EolStreamType |
static OutputStream |
EolStreamTypeUtil.wrapOutputStream(OutputStream out,
CoreConfig.EolStreamType conversion)
Wrap the output stream depending on
CoreConfig.EolStreamType |
Copyright © 2019 Eclipse JGit Project. All rights reserved.