mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
feat(treebuilder): add bindings and api
This commit is contained in:
parent
0cdaa6f8f4
commit
139c477d4a
6 changed files with 299 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue