CommitDiff class

Represents differences of 2 Commits in memory

Available extensions

Constructors

CommitDiff({required List<FileDiff> filesDiff, required Commit thisCommit, required Commit otherCommit, required Map<DiffType, int> statistic})

Properties

filesDiff List<FileDiff>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
otherCommit Commit
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statistic Map<DiffType, int>
getter/setter pair
thisCommit Commit
getter/setter pair

Methods

fullPrint() → void

Available on CommitDiff, provided by the CommitDiffPrint extension

Print a CommitDiff from Commit to FileLineDiff
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printDiff() → void

Available on CommitDiff, provided by the CommitDiffPrint extension

Print a CommitDiff
toString() String
A string representation of this object.
override

Operators

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

Static Methods

calculateDiff({required Commit thisCommit, required Commit otherCommit, dynamic onNoOtherCommitBranchMetaData(Branch)? = onNoCommitBranchMetaData, dynamic onNoOtherCommitMetaData(Commit)? = onNoCommitMetaData, dynamic onNoThisCommitBranchMetaData(Branch)? = onNoCommitBranchMetaData, dynamic onNoThisCommitMetaData(Commit)? = onNoCommitMetaData}) Future<CommitDiff>