refactor(repository)!: remove excessive aliases (#40)

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:25:15 +03:00 committed by GitHub
parent 432abffa89
commit e7c18c35e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 144 additions and 1063 deletions

View file

@ -23,8 +23,8 @@ void main() {
url: tmpDir.path,
localPath: cloneDir.path,
);
originRepo.deleteBranch('feature');
remote = clonedRepo.lookupRemote('origin');
Branch.delete(repo: originRepo, name: 'feature');
remote = Remote.lookup(repo: clonedRepo, name: 'origin');
});
tearDown(() {