refactor(repository)!: remove excessive aliases

BREAKING CHANGE: instead of removed aliases, API methods from relevant
classes should be called (e.g. Commit.create, Reference.lookup, etc.)
This commit is contained in:
Aleksey Kulikov 2022-01-25 17:16:20 +03:00
parent 432abffa89
commit e589d3dbd5
13 changed files with 144 additions and 1063 deletions

View file

@ -177,7 +177,7 @@ index e69de29..c217c63 100644
test('returns diff between tree and workdir with index', () {
final head = repo.head;
final commit = repo.lookupCommit(head.target);
final commit = Commit.lookup(repo: repo, oid: head.target);
final tree = commit.tree;
final diff = Diff.treeToWorkdirWithIndex(repo: repo, tree: tree);