mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
docs: improve api documentation
This commit is contained in:
parent
199dce111a
commit
a24070c44c
32 changed files with 1008 additions and 518 deletions
|
@ -5,7 +5,8 @@ import 'bindings/revwalk.dart' as bindings;
|
|||
|
||||
class RevWalk {
|
||||
/// Initializes a new instance of the [RevWalk] class.
|
||||
/// Should be freed with `free()` to release allocated memory.
|
||||
///
|
||||
/// **IMPORTANT**: Should be freed to release allocated memory.
|
||||
RevWalk(Repository repo) {
|
||||
_revWalkPointer = bindings.create(repo.pointer);
|
||||
}
|
||||
|
@ -25,7 +26,8 @@ class RevWalk {
|
|||
return pointers.map((e) => Commit(e)).toList();
|
||||
}
|
||||
|
||||
/// Changes the sorting mode when iterating through the repository's contents.
|
||||
/// Changes the sorting mode when iterating through the repository's contents
|
||||
/// to provided [sorting] combination of [GitSort] modes.
|
||||
///
|
||||
/// Changing the sorting mode resets the walker.
|
||||
void sorting(Set<GitSort> sorting) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue