feat(repository): add alias for commit creation

This commit is contained in:
Aleksey Kulikov 2021-09-23 11:07:16 +03:00
parent 7187d890d6
commit 10b9864219
4 changed files with 44 additions and 9 deletions

View file

@ -97,8 +97,7 @@ void main() {
});
test('successfully creates commit without parents', () {
final oid = Commit.create(
repo: repo,
final oid = repo.createCommit(
message: message,
author: author,
commiter: commiter,