RevisionWalker
Object Hierarchy:
Description:
[
CCode ( type_id =
"ggit_revision_walker_get_type ()" ) ]
public class RevisionWalker :
Native,
Initable
Represents a revision walker.
Content:
Properties:
Creation methods:
Methods:
- public unowned Repository? get_repository ()
Gets the repository on which this walker is operating.
- public void hide (OId oid) throws Error
Marks a commit (and its ancestors) uninteresting for the output.
- public void hide_glob (string item) throws Error
Hide all OIDs pointed to by references that match the given glob pattern to
the revsision walker.
- public void hide_head () throws Error
Hide the OID of the current HEAD to the revision walker.
- public void hide_ref (string item) throws Error
Hide the OID pointed to by the named reference to the revision walker.
- public OId? next () throws Error
Gets the next commit from the revision walk.
- public void push (OId oid) throws Error
Marks a commit to start traversal from.
- public void push_glob (string item) throws Error
Push all OIDs pointed to by references that match the given glob pattern to
the revsision walker.
- public void push_head () throws Error
Push the OID of the current HEAD to the revision walker.
- public void push_range (string range) throws Error
Push and hide the respective endpoints of the given range.
- public void push_ref (string item) throws Error
Push the OID pointed to by the named reference to the revision walker.
- public void reset ()
Resets the revision walker for reuse.
- public void set_sort_mode (SortMode sort_mode)
Change the sorting mode when iterating through the repository's contents.
Inherited Members:
All known members inherited from class Ggit.Native
All known members inherited from class GLib.Object
All known members inherited from interface GLib.Initable