Commit class

Snapshot of a working directory

Available extensions

Constructors

Commit.new(Sha1 sha, Branch branch, String message, Map<String, RepoObjectsData> objects, Branch fromBranch, DateTime commitedAt)

Properties

branch Branch
final
commitedAt DateTime
final
fromBranch Branch
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
objects Map<String, RepoObjectsData>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sha Sha1
final

Methods

compareCommitDiff({required Commit other, dynamic onNoOtherCommitBranchMetaData(Branch)? = onNoCommitBranchMetaData, dynamic onNoOtherCommitMetaData(Commit)? = onNoCommitMetaData, dynamic onNoThisCommitBranchMetaData(Branch)? = onNoCommitBranchMetaData, dynamic onNoThisCommitMetaData(Commit)? = onNoCommitMetaData, dynamic onDiffCalculated(CommitDiff)?}) Future<void>

Available on Commit, provided by the CommitActions extension

Compare a CommitDiff to another commit other
getCommitFiles({dynamic onNoCommitBranchMetaData(Branch)? = onNoCommitBranchMetaData, dynamic onNoCommitMetaData(Commit)? = onNoCommitMetaData}) Map<String, RepoObjectsData>?

Available on Commit, provided by the CommitActions extension

Get list of commited RepoObjectsData in a Commit
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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