mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
refactor!: use Oid instead of String for arguments
This commit is contained in:
parent
23787adc3a
commit
1972c6d1ab
39 changed files with 264 additions and 290 deletions
|
@ -37,14 +37,14 @@ class RevWalk {
|
|||
);
|
||||
}
|
||||
|
||||
/// Adds a new root for the traversal.
|
||||
/// Adds a new root commit [oid] for the traversal.
|
||||
///
|
||||
/// The pushed commit will be marked as one of the roots from which to start the walk.
|
||||
/// This commit may not be walked if it or a child is hidden.
|
||||
///
|
||||
/// At least one commit must be pushed onto the walker before a walk can be started.
|
||||
///
|
||||
/// The given id must belong to a committish on the walked repository.
|
||||
/// The given [oid] must belong to a committish on the walked repository.
|
||||
///
|
||||
/// Throws a [LibGit2Error] if error occured.
|
||||
void push(Oid oid) {
|
||||
|
@ -54,7 +54,7 @@ class RevWalk {
|
|||
);
|
||||
}
|
||||
|
||||
/// Marks a commit (and its ancestors) uninteresting for the output.
|
||||
/// Marks a commit [oid] (and its ancestors) uninteresting for the output.
|
||||
///
|
||||
/// The given id must belong to a committish on the walked repository.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue