feat(checkout)!: add ability to checkout commit

This commit is contained in:
Aleksey Kulikov 2022-01-21 17:00:46 +03:00
parent 6fe24dcb65
commit eeffa6a008
7 changed files with 115 additions and 38 deletions

View file

@ -128,7 +128,7 @@ void main() {
});
test('filters content of a blob with provided commit for attributes', () {
repo.checkout(refName: 'refs/tags/v0.2');
repo.checkout(target: 'refs/tags/v0.2');
final blobOid = repo.createBlob('clrf\nclrf\n');
final blob = repo.lookupBlob(blobOid);