refactor(checkout)!: move checkout related methods into Checkout class

This commit is contained in:
Aleksey Kulikov 2022-01-25 20:08:53 +03:00
parent 570c696269
commit 852af616e8
10 changed files with 238 additions and 135 deletions

View file

@ -134,7 +134,7 @@ void main() {
});
test('filters content of a blob with provided commit for attributes', () {
repo.checkout(target: 'refs/tags/v0.2');
Checkout.reference(repo: repo, name: 'refs/tags/v0.2');
final blobOid = Blob.create(repo: repo, content: 'clrf\nclrf\n');
final blob = Blob.lookup(repo: repo, oid: blobOid);