createCommitSha function
Sha1 algorithm on a Commit
Implementation
Sha1 createCommitSha({
required String branchName,
required String message,
required int noOfObjects,
required DateTime commitedAt,
}) {
return computeSha1Hash(
utf8.encode(
[branchName, message, noOfObjects, commitedAt].join(),
),
);
}