Functions¶
|
|
|
|
|
|
|
Details¶
- Ggit.error_quark()¶
- Return type:
Error domain for Ggit functions. Errors in this domain will be from the
Ggit.Error
enumeration. SeeGLib.Error
for information on error domains.
- Ggit.get_features()¶
- Returns:
- Return type:
Gets the features of the library.
- Ggit.init()¶
Call this function before using any other libgit2-glib function.
- Ggit.message_prettify(message, strip_comments, comment_char)¶
- Parameters:
- Returns:
the prettified message.
- Return type:
Prettify a commit message by removing excess whitespace and making sure the last line ends with a newline. If strip_comments is
True
, then lines starting with a comment_char will be removed.