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

@ -51,7 +51,7 @@ void main() {
File(p.join(repo.path, 'description')).readAsStringSync(),
'test repo',
);
expect(repo.lookupRemote('origin').url, 'test.url');
expect(Remote.lookup(repo: repo, name: 'origin').url, 'test.url');
});
});
}