Commit
Object Hierarchy:
Description:
[
CCode ( type_id =
"ggit_commit_get_type ()" ) ]
public class Commit :
Object
Represents a commit object.
Content:
Creation methods:
Methods:
- public OId? amend (string? update_ref, Signature author, Signature committer, string? message_encoding, string message, Tree tree) throws Error
Amend an existing commit.
- public Signature? get_author ()
Gets the author of this.
- public Signature? get_committer ()
Gets the committer of this.
- public unowned string? get_message ()
Gets the full message of this.
- public unowned string? get_message_encoding ()
Get the encoding for the message of a commit, as a string representing
a standard encoding name.
- public Commit? get_nth_ancestor (uint n) throws Error
Gets the commit object that is the n-th generation ancestor of the
named commit object, following only the first parents.
- public CommitParents? get_parents ()
Gets the parents collection for this
.
- public unowned string? get_subject ()
Gets the subject of this.
- public Tree? get_tree ()
Get the tree object for this.
- public OId? get_tree_id ()
Get the OId of the tree of
this.
Inherited Members:
All known members inherited from class Ggit.Object
All known members inherited from class Ggit.Native
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref