Uses of Class
org.eclipse.jgit.attributes.Attributes
Packages that use Attributes
Package
Description
Support for reading .gitattributes.
Content and commit history merge algorithms.
Walking and comparing directory/file trees (of commits, file system).
Utility classes.
Utility classes for IO (streams).
-
Uses of Attributes in org.eclipse.jgit.attributes
Methods in org.eclipse.jgit.attributes that return AttributesModifier and TypeMethodDescriptionAttributesHandler.getAttributes()
AttributesProvider.getAttributes()
Get attributesMethods in org.eclipse.jgit.attributes with parameters of type AttributesModifier and TypeMethodDescriptionprotected void
AttributesHandler.expandMacro
(Attribute attr, Attributes result) Expand a macroprotected void
AttributesHandler.mergeAttributes
(AttributesNode node, String entryPath, boolean isDirectory, Attributes result) Merges the matching node attributes for an entry path. -
Uses of Attributes in org.eclipse.jgit.merge
Methods in org.eclipse.jgit.merge with parameters of type AttributesModifier and TypeMethodDescriptionprotected void
ResolveMerger.addDeletion
(String path, boolean isFile, Attributes attributes) Remember a path for deletion, and remember itsDirCacheCheckout.CheckoutMetadata
in case it has to be restored in the cleanUp.protected void
ResolveMerger.addToCheckout
(String path, DirCacheEntry entry, Attributes[] attributes) Adds aDirCacheEntry
for direct checkout and remembers itsDirCacheCheckout.CheckoutMetadata
.ResolveMerger.WorkTreeUpdater.detectCheckoutStreamType
(Attributes attributes) Detects if CRLF conversion has been configured.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. -
Uses of Attributes in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return AttributesModifier and TypeMethodDescriptionTreeWalk.getAttributes()
Get attributesTreeWalk.getAttributes
(int index) Retrieves the git attributes based on the given tree.Methods in org.eclipse.jgit.treewalk with parameters of type AttributesModifier and TypeMethodDescriptionTreeWalk.getSmudgeCommand
(Attributes attributes) Inspect config and attributes to return a filtercommand applicable for the current path. -
Uses of Attributes in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that return AttributesModifier and TypeMethodDescriptionstatic Attributes
LfsFactory.getAttributesForPath
(Repository db, String path) Get git attributes for given pathstatic Attributes
LfsFactory.getAttributesForPath
(Repository db, 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 AttributesModifier and TypeMethodDescriptionstatic 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