Top |
Functions
GgitSignature * | ggit_signature_new () |
GgitSignature * | ggit_signature_new_now () |
const gchar * | ggit_signature_get_name () |
const gchar * | ggit_signature_get_email () |
GDateTime * | ggit_signature_get_time () |
GTimeZone * | ggit_signature_get_time_zone () |
Functions
ggit_signature_new ()
GgitSignature * ggit_signature_new (const gchar *name
,const gchar *email
,GDateTime *signature_time
,GError **error
);
Creates a new GgitSignature. Name and e-mail are assumed to be in UTF-8.
ggit_signature_new_now ()
GgitSignature * ggit_signature_new_now (const gchar *name
,const gchar *email
,GError **error
);
Creates a new GgitSignature with a timestamp of 'now'. Name and e-mail are assumed to be in UTF-8.
ggit_signature_get_name ()
const gchar *
ggit_signature_get_name (GgitSignature *signature
);
Gets the name of the person.
ggit_signature_get_email ()
const gchar *
ggit_signature_get_email (GgitSignature *signature
);
Gets the email of the person.
ggit_signature_get_time ()
GDateTime *
ggit_signature_get_time (GgitSignature *signature
);
Gets the time when the action happened. Note that the time is returned in the timezone of the commit (see ggit_signature_get_time_zone).
ggit_signature_get_time_zone ()
GTimeZone *
ggit_signature_get_time_zone (GgitSignature *signature
);
Gets the timezone in which the action happened.