mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
test: add more tests for throws and their messages
This commit is contained in:
parent
d6eae1e9ed
commit
127849519d
80 changed files with 2741 additions and 1501 deletions
|
@ -24,13 +24,9 @@ class TreeBuilder {
|
|||
int get length => bindings.entryCount(_treeBuilderPointer);
|
||||
|
||||
/// Writes the contents of the tree builder as a tree object.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
Oid write() => Oid(bindings.write(_treeBuilderPointer));
|
||||
|
||||
/// Clears all the entires in the tree builder.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
void clear() => bindings.clear(_treeBuilderPointer);
|
||||
|
||||
/// Returns an entry from the tree builder from its filename.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue