mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
docs: update docs for bindings and api
This commit is contained in:
parent
a3213a88a2
commit
9d61584165
52 changed files with 352 additions and 209 deletions
|
@ -5,17 +5,12 @@ import 'package:libgit2dart/src/bindings/libgit2_bindings.dart';
|
|||
import 'package:libgit2dart/src/error.dart';
|
||||
import 'package:libgit2dart/src/util.dart';
|
||||
|
||||
/// Create a new tree builder.
|
||||
/// Create a new tree builder. The returned tree builder must be freed with
|
||||
/// [free].
|
||||
///
|
||||
/// The tree builder can be used to create or modify trees in memory and write
|
||||
/// them as tree objects to the database.
|
||||
///
|
||||
/// If the source parameter is not null, the tree builder will be initialized
|
||||
/// with the entries of the given tree.
|
||||
///
|
||||
/// If the source parameter is null, the tree builder will start with no entries
|
||||
/// and will have to be filled manually.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
Pointer<git_treebuilder> create({
|
||||
required Pointer<git_repository> repoPointer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue