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 voidAttributesHandler.expandMacro(Attribute attr, Attributes result) Expand a macroprotected voidAttributesHandler.mergeAttributes(AttributesNode node, String entryPath, boolean isDirectory, Attributes result) Merges the matching node attributes for an entry path.private voidAttributesHandler.mergeGlobalAttributes(String entryPath, boolean isDirectory, Attributes result) Merges the matching GLOBAL attributes for an entry path.private voidAttributesHandler.mergeInfoAttributes(String entryPath, boolean isDirectory, Attributes result) Merges the matching INFO attributes for an entry path.private voidAttributesHandler.mergePerDirectoryEntryAttributes(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 AttributesMethods in org.eclipse.jgit.merge with parameters of type AttributesModifier and TypeMethodDescriptionprotected voidResolveMerger.addCheckoutMetadata(String path, Attributes attributes) Remembers theDirCacheCheckout.CheckoutMetadatafor the given path; it may be needed inResolveMerger.checkout()or inResolveMerger.cleanUp().protected voidResolveMerger.addDeletion(String path, boolean isFile, Attributes attributes) Remember a path for deletion, and remember itsDirCacheCheckout.CheckoutMetadatain case it has to be restored inResolveMerger.cleanUp().protected voidResolveMerger.addToCheckout(String path, DirCacheEntry entry, Attributes attributes) Adds aDirCacheEntryfor direct checkout and remembers itsDirCacheCheckout.CheckoutMetadata.private MergeResult<RawText> ResolveMerger.contentMerge(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, Attributes attributes) Does the content merge.private RawTextResolveMerger.getRawText(ObjectId id, Attributes attributes) private ObjectIdResolveMerger.insertMergeResult(TemporaryBuffer buf, Attributes attributes) protected booleanResolveMerger.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 voidResolveMerger.updateIndex(CanonicalTreeParser base, CanonicalTreeParser ours, CanonicalTreeParser theirs, MergeResult<RawText> result, Attributes attributes) Updates the index after a content merge has happened.private FileResolveMerger.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 AttributesModifier and TypeFieldDescriptionprivate AttributesTreeWalk.attrsCached attribute for the current entryMethods in org.eclipse.jgit.treewalk that return Attributes -
Uses of Attributes in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that return AttributesModifier and TypeMethodDescriptionstatic AttributesLfsFactory.getAttributesForPath(Repository db, String path) static AttributesLfsFactory.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 TypeMethodDescriptionprivate static CoreConfig.EolStreamTypeEolStreamTypeUtil.checkInStreamType(WorkingTreeOptions options, Attributes attrs) private static CoreConfig.EolStreamTypeEolStreamTypeUtil.checkOutStreamType(WorkingTreeOptions options, Attributes attrs) static CoreConfig.EolStreamTypeEolStreamTypeUtil.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