mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-06-23 09:19:26 -04:00
refactor(checkout)!: move checkout related methods into Checkout class (#42)
This commit is contained in:
parent
570c696269
commit
9918ab0905
10 changed files with 238 additions and 135 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue