Uses of Class
org.eclipse.jgit.attributes.Attributes
-
Packages that use Attributes Package Description org.eclipse.jgit.attributes Support for reading .gitattributes.org.eclipse.jgit.merge Content and commit history merge algorithms.org.eclipse.jgit.treewalk Walking and comparing directory/file trees (of commits, file system).org.eclipse.jgit.util Utility classes.org.eclipse.jgit.util.io Utility classes for IO (streams). -
-
Uses of Attributes in org.eclipse.jgit.attributes
Methods in org.eclipse.jgit.attributes that return Attributes Modifier and Type Method Description Attributes
AttributesHandler. getAttributes()
Attributes
AttributesProvider. getAttributes()
Get attributesMethods in org.eclipse.jgit.attributes with parameters of type Attributes Modifier and Type Method Description protected void
AttributesHandler. expandMacro(Attribute attr, Attributes result)
Expand a macroprotected void
AttributesHandler. mergeAttributes(AttributesNode node, java.lang.String entryPath, boolean isDirectory, Attributes result)
Merges the matching node attributes for an entry path.private void
AttributesHandler. mergeGlobalAttributes(java.lang.String entryPath, boolean isDirectory, Attributes result)
Merges the matching GLOBAL attributes for an entry path.private void
AttributesHandler. mergeInfoAttributes(java.lang.String entryPath, boolean isDirectory, Attributes result)
Merges the matching INFO attributes for an entry path.private void
AttributesHandler. mergePerDirectoryEntryAttributes(java.lang.String entryPath, int nameRoot, boolean isDirectory, WorkingTreeIterator workingTreeIterator, DirCacheIterator dirCacheIterator, CanonicalTreeParser otherTree, Attributes result)
Merges the matching working directory attributes for an entry path. -
Uses of Attributes in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as Attributes Modifier and Type Field Description private static Attributes
ResolveMerger. NO_ATTRIBUTES
Methods in org.eclipse.jgit.merge with parameters of type Attributes Modifier and Type Method Description protected void
ResolveMerger. addCheckoutMetadata(java.lang.String path, Attributes attributes)
Remembers theDirCacheCheckout.CheckoutMetadata
for the given path; it may be needed inResolveMerger.checkout()
or inResolveMerger.cleanUp()
.protected void
ResolveMerger. addDeletion(java.lang.String path, boolean isFile, Attributes attributes)
Remember a path for deletion, and remember itsDirCacheCheckout.CheckoutMetadata
in case it has to be restored inResolveMerger.cleanUp()
.protected void
ResolveMerger. addToCheckout(java.lang.String path, DirCacheEntry entry, Attributes attributes)
Adds aDirCacheEntry
for direct checkout and remembers itsDirCacheCheckout.CheckoutMetadata
.private MergeResult<RawText>
ResolveMerger. contentMerge(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, Attributes attributes)
Does the content merge.private RawText
ResolveMerger. getRawText(ObjectId id, Attributes attributes)
private ObjectId
ResolveMerger. insertMergeResult(TemporaryBuffer buf, Attributes attributes)
protected boolean
ResolveMerger. processEntry(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, DirCacheBuildIterator index, WorkingTreeIterator work, boolean ignoreConflicts, Attributes attributes)
Processes one path and tries to merge taking git attributes in account.private void
ResolveMerger. updateIndex(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, MergeResult<RawText> result, Attributes attributes)
Updates the index after a content merge has happened.private java.io.File
ResolveMerger. writeMergedFile(TemporaryBuffer rawMerged, Attributes attributes)
Writes merged file content to the working tree. -
Uses of Attributes in org.eclipse.jgit.treewalk
Fields in org.eclipse.jgit.treewalk declared as Attributes Modifier and Type Field Description private Attributes
TreeWalk. attrs
Cached attribute for the current entryMethods in org.eclipse.jgit.treewalk that return Attributes Modifier and Type Method Description Attributes
TreeWalk. getAttributes()
Get attributes -
Uses of Attributes in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that return Attributes Modifier and Type Method Description static Attributes
LfsFactory. getAttributesForPath(Repository db, java.lang.String path)
static Attributes
LfsFactory. getAttributesForPath(Repository db, java.lang.String path, RevCommit commit)
Get attributes for given path and commit -
Uses of Attributes in org.eclipse.jgit.util.io
Methods in org.eclipse.jgit.util.io with parameters of type Attributes Modifier and Type Method Description private static CoreConfig.EolStreamType
EolStreamTypeUtil. checkInStreamType(WorkingTreeOptions options, Attributes attrs)
private static CoreConfig.EolStreamType
EolStreamTypeUtil. checkOutStreamType(WorkingTreeOptions options, Attributes attrs)
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
-