GitIndex class final

Constructors

GitIndex({int version = 2, GitHashAlgorithm checksumAlgorithm = GitHashAlgorithm.sha1, List<GitIndexEntry> entries = const [], List<GitIndexExtension> extensions = const [], GitObjectId? checksum})
const

Properties

checksum GitObjectId?
final
checksumAlgorithm GitHashAlgorithm
final
entries List<GitIndexEntry>
final
extensions List<GitIndexExtension>
final
hashCode int
The hash code for this object.
no setterinherited
objectCount int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
final

Methods

entryForPath(String path, {int stage = 0}) GitIndexEntry?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withEntry(GitIndexEntry entry, {bool replaceConflictedStages = true}) GitIndex
withoutPath(String path, {int? stage}) GitIndex

Operators

operator ==(Object other) bool
The equality operator.
inherited