feat(treebuilder): add bindings and api

This commit is contained in:
Aleksey Kulikov 2021-09-03 16:30:46 +03:00
parent 0cdaa6f8f4
commit 139c477d4a
6 changed files with 299 additions and 5 deletions

View file

@ -35,7 +35,7 @@ void main() {
});
test('returns correct values', () {
expect(tree.entries.length, 4);
expect(tree.length, 4);
expect(tree.entries.first.id.sha, fileSHA);
expect(tree.entries[0].name, '.gitignore');
expect(tree.entries[0].filemode, GitFilemode.blob);