Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- getFeatures :: (HasCallStack, MonadIO m) => m [FeatureFlags]
- init :: (HasCallStack, MonadIO m) => m ()
- messagePrettify :: (HasCallStack, MonadIO m) => Text -> Bool -> Int8 -> m Text
Methods
getFeatures
:: (HasCallStack, MonadIO m) | |
=> m [FeatureFlags] | Returns: a |
Gets the features of the library.
init
init :: (HasCallStack, MonadIO m) => m () Source #
Call this function before using any other libgit2-glib function.
messagePrettify
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> Bool |
|
-> Int8 |
|
-> m Text | Returns: the prettified message. |
Prettify a commit message by removing excess whitespace and making sure the
last line ends with a newline. If stripComments
is True
, then lines
starting with a commentChar
will be removed.