gi-ggit 1.0.11 → 1.0.12
raw patch · 4 files changed
+9/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: text
API changes (from Hackage documentation)
+ GI.Ggit.Constants: pattern BUILD_TYPE :: Text
+ GI.Ggit.Constants: pattern MAJOR_VERSION :: Int32
+ GI.Ggit.Constants: pattern MINOR_VERSION :: Int32
+ GI.Ggit.Constants: pattern VERSION_S :: Text
+ GI.Ggit.Enums: DeltaTypeConflicted :: DeltaType
+ GI.Ggit.Enums: DeltaTypeTypechange :: DeltaType
+ GI.Ggit.Enums: DeltaTypeUnreadable :: DeltaType
+ GI.Ggit.Flags: StatusFlagsConflicted :: StatusFlags
+ GI.Ggit.Flags: StatusFlagsWorkingTreeRenamed :: StatusFlags
+ GI.Ggit.Flags: StatusFlagsWorkingTreeUnreadable :: StatusFlags
+ GI.Ggit.Objects.Mailmap: Mailmap :: ManagedPtr Mailmap -> Mailmap
+ GI.Ggit.Objects.Mailmap: class (GObject o, IsDescendantOf Mailmap o) => IsMailmap o
+ GI.Ggit.Objects.Mailmap: instance (Data.GI.Base.BasicTypes.GObject o, Data.GI.Base.Overloading.IsDescendantOf GI.Ggit.Objects.Mailmap.Mailmap o) => GI.Ggit.Objects.Mailmap.IsMailmap o
+ GI.Ggit.Objects.Mailmap: instance Data.GI.Base.BasicTypes.GObject GI.Ggit.Objects.Mailmap.Mailmap
+ GI.Ggit.Objects.Mailmap: instance Data.GI.Base.BasicTypes.ManagedPtrNewtype GI.Ggit.Objects.Mailmap.Mailmap
+ GI.Ggit.Objects.Mailmap: instance Data.GI.Base.BasicTypes.TypedObject GI.Ggit.Objects.Mailmap.Mailmap
+ GI.Ggit.Objects.Mailmap: instance Data.GI.Base.GValue.IsGValue (GHC.Maybe.Maybe GI.Ggit.Objects.Mailmap.Mailmap)
+ GI.Ggit.Objects.Mailmap: instance Data.GI.Base.Overloading.HasParentTypes GI.Ggit.Objects.Mailmap.Mailmap
+ GI.Ggit.Objects.Mailmap: instance GHC.Classes.Eq GI.Ggit.Objects.Mailmap.Mailmap
+ GI.Ggit.Objects.Mailmap: mailmapAddEntry :: (HasCallStack, MonadIO m, IsMailmap a) => a -> Maybe Text -> Maybe Text -> Maybe Text -> Text -> m ()
+ GI.Ggit.Objects.Mailmap: mailmapNew :: (HasCallStack, MonadIO m) => m (Maybe Mailmap)
+ GI.Ggit.Objects.Mailmap: mailmapNewFromRepository :: (HasCallStack, MonadIO m, IsRepository a) => a -> m (Maybe Mailmap)
+ GI.Ggit.Objects.Mailmap: mailmapResolve :: (HasCallStack, MonadIO m, IsMailmap a) => a -> Text -> Text -> m (Text, Text)
+ GI.Ggit.Objects.Mailmap: mailmapResolveSignature :: (HasCallStack, MonadIO m, IsMailmap a, IsSignature b) => a -> b -> m (Maybe Signature)
+ GI.Ggit.Objects.Mailmap: newtype Mailmap
+ GI.Ggit.Objects.Mailmap: toMailmap :: (MonadIO m, IsMailmap o) => o -> m Mailmap
+ GI.Ggit.Objects.Remote: remotePrune :: (HasCallStack, MonadIO m, IsRemote a, IsRemoteCallbacks b) => a -> b -> m ()
+ GI.Ggit.Objects.Repository: repositorySetHeadDetached :: (HasCallStack, MonadIO m, IsRepository a) => a -> OId -> m ()
- GI.Ggit.Callbacks: type ConfigCallback = ConfigEntry " /@entry@/: a t'GI.Ggit.Structs.ConfigEntry.ConfigEntry'." -> IO Int32 " __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ConfigCallback = -- | /@entry@/: a t'GI.Ggit.Structs.ConfigEntry.ConfigEntry'. ConfigEntry -> -- | __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was -- an error. IO Int32
- GI.Ggit.Callbacks: type ConfigCallback_WithClosures = ConfigEntry " /@entry@/: a t'GI.Ggit.Structs.ConfigEntry.ConfigEntry'." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ConfigCallback_WithClosures = -- | /@entry@/: a t'GI.Ggit.Structs.ConfigEntry.ConfigEntry'. ConfigEntry -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was -- an error. IO Int32
- GI.Ggit.Callbacks: type ConfigMatchCallback = MatchInfo " /@matchInfo@/: the match" -> Text " /@value@/: the value" -> IO Int32 " __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ConfigMatchCallback = -- | /@matchInfo@/: the match MatchInfo -> -- | /@value@/: the value Text -> -- | __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was -- an error. IO Int32
- GI.Ggit.Callbacks: type ConfigMatchCallback_WithClosures = MatchInfo " /@matchInfo@/: the match" -> Text " /@value@/: the value" -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ConfigMatchCallback_WithClosures = -- | /@matchInfo@/: the match MatchInfo -> -- | /@value@/: the value Text -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go for the next config value or a t'GI.Ggit.Enums.Error' in case there was -- an error. IO Int32
- GI.Ggit.Callbacks: type CredAcquireCallback = Text " /@url@/: the resource for which we are demanding a credential." -> Maybe Text " /@usernameFromUrl@/: The username that was embedded in a \"user/@host@/\" remote url, or NULL if not included." -> Word32 " /@allowedTypes@/: a bitmask stating which cred types are OK to return." -> Cred " /@cred@/: newly created credential object." -> IO Int32
+ GI.Ggit.Callbacks: type CredAcquireCallback = -- | /@url@/: the resource for which we are demanding a credential. Text -> -- | /@usernameFromUrl@/: The username that was embedded in a \"user/@host@/\" -- remote url, or NULL if not included. Maybe Text -> -- | /@allowedTypes@/: a bitmask stating which cred types are OK to return. Word32 -> -- | /@cred@/: newly created credential object. Cred -> IO Int32
- GI.Ggit.Callbacks: type CredAcquireCallback_WithClosures = Text " /@url@/: the resource for which we are demanding a credential." -> Maybe Text " /@usernameFromUrl@/: The username that was embedded in a \"user/@host@/\" remote url, or NULL if not included." -> Word32 " /@allowedTypes@/: a bitmask stating which cred types are OK to return." -> Cred " /@cred@/: newly created credential object." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32
+ GI.Ggit.Callbacks: type CredAcquireCallback_WithClosures = -- | /@url@/: the resource for which we are demanding a credential. Text -> -- | /@usernameFromUrl@/: The username that was embedded in a \"user/@host@/\" -- remote url, or NULL if not included. Maybe Text -> -- | /@allowedTypes@/: a bitmask stating which cred types are OK to return. Word32 -> -- | /@cred@/: newly created credential object. Cred -> -- | /@userData@/: user-supplied data. Ptr () -> IO Int32
- GI.Ggit.Callbacks: type DiffBinaryCallback = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> DiffBinary " /@binary@/: a t'GI.Ggit.Structs.DiffBinary.DiffBinary'." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffBinaryCallback = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@binary@/: a t'GI.Ggit.Structs.DiffBinary.DiffBinary'. DiffBinary -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type DiffBinaryCallback_WithClosures = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> DiffBinary " /@binary@/: a t'GI.Ggit.Structs.DiffBinary.DiffBinary'." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffBinaryCallback_WithClosures = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@binary@/: a t'GI.Ggit.Structs.DiffBinary.DiffBinary'. DiffBinary -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type DiffFileCallback = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> Float " /@progress@/: the progress." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffFileCallback = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@progress@/: the progress. Float -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type DiffFileCallback_WithClosures = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> Float " /@progress@/: the progress." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffFileCallback_WithClosures = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@progress@/: the progress. Float -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type DiffHunkCallback = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> DiffHunk " /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffHunkCallback = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'. DiffHunk -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type DiffHunkCallback_WithClosures = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> DiffHunk " /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffHunkCallback_WithClosures = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'. DiffHunk -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type DiffLineCallback = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> Maybe DiffHunk " /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'." -> DiffLine " /@line@/: a t'GI.Ggit.Structs.DiffLine.DiffLine'." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffLineCallback = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'. Maybe DiffHunk -> -- | /@line@/: a t'GI.Ggit.Structs.DiffLine.DiffLine'. DiffLine -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type DiffLineCallback_WithClosures = DiffDelta " /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'." -> Maybe DiffHunk " /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'." -> DiffLine " /@line@/: a t'GI.Ggit.Structs.DiffLine.DiffLine'." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type DiffLineCallback_WithClosures = -- | /@delta@/: a t'GI.Ggit.Structs.DiffDelta.DiffDelta'. DiffDelta -> -- | /@hunk@/: a t'GI.Ggit.Structs.DiffHunk.DiffHunk'. Maybe DiffHunk -> -- | /@line@/: a t'GI.Ggit.Structs.DiffLine.DiffLine'. DiffLine -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type NoteCallback = OId " /@blobId@/: id of the blob containing the message." -> OId " /@annotatedObjectId@/: id of the git object being annotated." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type NoteCallback = -- | /@blobId@/: id of the blob containing the message. OId -> -- | /@annotatedObjectId@/: id of the git object being annotated. OId -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type NoteCallback_WithClosures = OId " /@blobId@/: id of the blob containing the message." -> OId " /@annotatedObjectId@/: id of the git object being annotated." -> Ptr () " /@userData@/: user-suplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type NoteCallback_WithClosures = -- | /@blobId@/: id of the blob containing the message. OId -> -- | /@annotatedObjectId@/: id of the git object being annotated. OId -> -- | /@userData@/: user-suplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type ReferencesCallback = Ref " /@reference@/: the reference." -> IO Int32 " __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ReferencesCallback = -- | /@reference@/: the reference. Ref -> -- | __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type ReferencesCallback_WithClosures = Ref " /@reference@/: the reference." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ReferencesCallback_WithClosures = -- | /@reference@/: the reference. Ref -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type ReferencesNameCallback = Text " /@name@/: the name of the reference" -> IO Int32 " __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ReferencesNameCallback = -- | /@name@/: the name of the reference Text -> -- | __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type ReferencesNameCallback_WithClosures = Text " /@name@/: the name of the reference" -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type ReferencesNameCallback_WithClosures = -- | /@name@/: the name of the reference Text -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go for the next references or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type RemoteListCallback = Text " /@name@/: the name of the reference." -> OId " /@oid@/: the reference\'s oid." -> OId " /@loid@/: the reference\'s loid." -> Bool " /@local@/: if available locally." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type RemoteListCallback = -- | /@name@/: the name of the reference. Text -> -- | /@oid@/: the reference\'s oid. OId -> -- | /@loid@/: the reference\'s loid. OId -> -- | /@local@/: if available locally. Bool -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type RemoteListCallback_WithClosures = Text " /@name@/: the name of the reference." -> OId " /@oid@/: the reference\'s oid." -> OId " /@loid@/: the reference\'s loid." -> Bool " /@local@/: if available locally." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type RemoteListCallback_WithClosures = -- | /@name@/: the name of the reference. Text -> -- | /@oid@/: the reference\'s oid. OId -> -- | /@loid@/: the reference\'s loid. OId -> -- | /@local@/: if available locally. Bool -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type StashCallback = Word64 " /@index@/: the position within the stash list. 0 points to the most recent stashed state." -> Text " /@message@/: the stash message." -> OId " /@stashOid@/: the commit oid of the stashed state." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type StashCallback = -- | /@index@/: the position within the stash list. 0 points to the -- most recent stashed state. Word64 -> -- | /@message@/: the stash message. Text -> -- | /@stashOid@/: the commit oid of the stashed state. OId -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type StashCallback_WithClosures = Word64 " /@index@/: the position within the stash list. 0 points to the most recent stashed state." -> Text " /@message@/: the stash message." -> OId " /@stashOid@/: the commit oid of the stashed state." -> Ptr () " /@userData@/: user-suplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type StashCallback_WithClosures = -- | /@index@/: the position within the stash list. 0 points to the -- most recent stashed state. Word64 -> -- | /@message@/: the stash message. Text -> -- | /@stashOid@/: the commit oid of the stashed state. OId -> -- | /@userData@/: user-suplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type StatusCallback = Text " /@path@/: the file to retrieve status for, rooted at the repository working dir." -> [StatusFlags] " /@statusFlags@/: the status value." -> IO Int32 " __Returns:__ 0 to go for the next file or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type StatusCallback = -- | /@path@/: the file to retrieve status for, rooted at the repository working dir. Text -> -- | /@statusFlags@/: the status value. [StatusFlags] -> -- | __Returns:__ 0 to go for the next file or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type StatusCallback_WithClosures = Text " /@path@/: the file to retrieve status for, rooted at the repository working dir." -> [StatusFlags] " /@statusFlags@/: the status value." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go for the next file or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type StatusCallback_WithClosures = -- | /@path@/: the file to retrieve status for, rooted at the repository working dir. Text -> -- | /@statusFlags@/: the status value. [StatusFlags] -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go for the next file or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type SubmoduleCallback = Submodule " /@submodule@/: a t'GI.Ggit.Structs.Submodule.Submodule'." -> Text " /@name@/: the name of the submodule." -> IO Int32 " __Returns:__ 0 to go for the next submodule or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type SubmoduleCallback = -- | /@submodule@/: a t'GI.Ggit.Structs.Submodule.Submodule'. Submodule -> -- | /@name@/: the name of the submodule. Text -> -- | __Returns:__ 0 to go for the next submodule or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type SubmoduleCallback_WithClosures = Submodule " /@submodule@/: a t'GI.Ggit.Structs.Submodule.Submodule'." -> Text " /@name@/: the name of the submodule." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go for the next submodule or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type SubmoduleCallback_WithClosures = -- | /@submodule@/: a t'GI.Ggit.Structs.Submodule.Submodule'. Submodule -> -- | /@name@/: the name of the submodule. Text -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go for the next submodule or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type TagCallback = Text " /@name@/: the tag name." -> OId " /@tagOid@/: the tag oid." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type TagCallback = -- | /@name@/: the tag name. Text -> -- | /@tagOid@/: the tag oid. OId -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type TagCallback_WithClosures = Text " /@name@/: the tag name." -> OId " /@tagOid@/: the tag oid." -> Ptr () " /@userData@/: user-suplied data." -> IO Int32 " __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type TagCallback_WithClosures = -- | /@name@/: the tag name. Text -> -- | /@tagOid@/: the tag oid. OId -> -- | /@userData@/: user-suplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type TransferProgressCallback = TransferProgress " /@stats@/: a t'GI.Ggit.Structs.TransferProgress.TransferProgress'." -> IO Int32 " __Returns:__ a value less than zero to cancel the transfer."
+ GI.Ggit.Callbacks: type TransferProgressCallback = -- | /@stats@/: a t'GI.Ggit.Structs.TransferProgress.TransferProgress'. TransferProgress -> -- | __Returns:__ a value less than zero to cancel the transfer. IO Int32
- GI.Ggit.Callbacks: type TransferProgressCallback_WithClosures = TransferProgress " /@stats@/: a t'GI.Ggit.Structs.TransferProgress.TransferProgress'." -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ a value less than zero to cancel the transfer."
+ GI.Ggit.Callbacks: type TransferProgressCallback_WithClosures = -- | /@stats@/: a t'GI.Ggit.Structs.TransferProgress.TransferProgress'. TransferProgress -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ a value less than zero to cancel the transfer. IO Int32
- GI.Ggit.Callbacks: type TreeWalkCallback = Text " /@root@/: the current (relative) root of the entry" -> TreeEntry " /@entry@/: the tree entry" -> IO Int32 " __Returns:__ 0 to go for the next entry or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type TreeWalkCallback = -- | /@root@/: the current (relative) root of the entry Text -> -- | /@entry@/: the tree entry TreeEntry -> -- | __Returns:__ 0 to go for the next entry or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type TreeWalkCallback_WithClosures = Text " /@root@/: the current (relative) root of the entry" -> TreeEntry " /@entry@/: the tree entry" -> Ptr () " /@userData@/: user-supplied data." -> IO Int32 " __Returns:__ 0 to go for the next entry or a t'GI.Ggit.Enums.Error' in case there was an error."
+ GI.Ggit.Callbacks: type TreeWalkCallback_WithClosures = -- | /@root@/: the current (relative) root of the entry Text -> -- | /@entry@/: the tree entry TreeEntry -> -- | /@userData@/: user-supplied data. Ptr () -> -- | __Returns:__ 0 to go for the next entry or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- Setup.hs +1/−1
- gi-ggit.cabal +3/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+### 1.0.12+++ Relax constraint on text+ ### 1.0.11 + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-ggit-1.0.11/docs/GI-Ggit.html](https://hackage.haskell.org/package/gi-ggit-1.0.11/docs/GI-Ggit.html)+[https://hackage.haskell.org/package/gi-ggit-1.0.12/docs/GI-Ggit.html](https://hackage.haskell.org/package/gi-ggit-1.0.12/docs/GI-Ggit.html) For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -12,7 +12,7 @@ where name = "Ggit" version = "1.0" pkgName = "gi-ggit"- pkgVersion = "1.0.11"+ pkgVersion = "1.0.12" overridesFile = Just "Ggit.overrides" verbose = False outputDir = Nothing
gi-ggit.cabal view
@@ -1,5 +1,5 @@ name: gi-ggit-version: 1.0.11+version: 1.0.12 synopsis: libgit2-glib bindings description: Bindings for libgit2-glib, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -23,7 +23,7 @@ library default-language: Haskell2010- default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+ default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators other-extensions: PatternSynonyms, ViewPatterns, TypeApplications ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -37,7 +37,7 @@ gi-glib == 2.0.*, bytestring >= 0.10 && < 1, containers >= 0.5 && < 1,- text >= 1.0 && < 2,+ text >= 1.0 && < 3, transformers >= 0.4 && < 1 -- Disable overloading when compiling under GHC 8.2.x