| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Ggit.Enums
Contents
- Enumerations
- BranchType
- CloneLocal
- ConfigLevel
- DeltaType
- DiffBinaryType
- DiffFormatType
- DiffLineType
- Direction
- Error
- FileMode
- MergeFileFavor
- PackbuilderStage
- ProxyType
- RebaseOperationType
- RefType
- RemoteCompletionType
- RemoteDownloadTagsType
- ResetType
- StatusShow
- SubmoduleIgnore
- SubmoduleRecurse
- SubmoduleUpdate
- TreeWalkMode
Description
Synopsis
- data BranchType
- data CloneLocal
- data ConfigLevel
- data DeltaType
- data DiffBinaryType
- data DiffFormatType
- data DiffLineType
- data Direction
- data Error
- catchError :: IO a -> (Error -> GErrorMessage -> IO a) -> IO a
- handleError :: (Error -> GErrorMessage -> IO a) -> IO a -> IO a
- data FileMode
- data MergeFileFavor
- data PackbuilderStage
- data ProxyType
- data RebaseOperationType
- data RefType
- data RemoteCompletionType
- data RemoteDownloadTagsType
- data ResetType
- data StatusShow
- data SubmoduleIgnore
- data SubmoduleRecurse
- data SubmoduleUpdate
- data TreeWalkMode
Enumerations
BranchType
data BranchType Source #
The type of a branch.
Constructors
| BranchTypeLocal | specifies a local branch. |
| BranchTypeRemote | specifies a remote branch. |
| AnotherBranchType Int | Catch-all for unknown values |
Instances
CloneLocal
data CloneLocal Source #
No description available in the introspection data.
Constructors
| CloneLocalAuto | No description available in the introspection data. |
| CloneLocalLocal | No description available in the introspection data. |
| CloneLocalNoLocal | No description available in the introspection data. |
| CloneLocalNoLinks | No description available in the introspection data. |
| AnotherCloneLocal Int | Catch-all for unknown values |
Instances
ConfigLevel
data ConfigLevel Source #
Priority level of a config file. These priority levels correspond to the natural escalation logic (from higher to lower) when searching for config entries in git.git.
Constructors
| ConfigLevelProgramdata | System-wide on Windows, for compatibility with portable git. |
| ConfigLevelSystem | System-wide configuration file. |
| ConfigLevelXdg | XDG compatible configuration file (.config/git/config). |
| ConfigLevelGlobal | User-specific configuration file, also called Global configuration file. |
| ConfigLevelLocal | Repository specific configuration file. |
| ConfigLevelApp | Application specific configuration file; freely defined by applications. |
| ConfigLevelHighest | Represents the highest level of a config file. |
| AnotherConfigLevel Int | Catch-all for unknown values |
Instances
DeltaType
Describes the type of change the delta is.
Constructors
| DeltaTypeUnmodified | unmodified. |
| DeltaTypeAdded | added. |
| DeltaTypeDeleted | deleted. |
| DeltaTypeModified | modified. |
| DeltaTypeRenamed | renamed. |
| DeltaTypeCopied | copied. |
| DeltaTypeIgnored | ignored. |
| DeltaTypeUntracked | untracked. |
| DeltaTypeTypechange | No description available in the introspection data. |
| DeltaTypeUnreadable | No description available in the introspection data. |
| DeltaTypeConflicted | No description available in the introspection data. |
| AnotherDeltaType Int | Catch-all for unknown values |
Instances
| Enum DeltaType Source # | |
Defined in GI.Ggit.Enums Methods succ :: DeltaType -> DeltaType # pred :: DeltaType -> DeltaType # fromEnum :: DeltaType -> Int # enumFrom :: DeltaType -> [DeltaType] # enumFromThen :: DeltaType -> DeltaType -> [DeltaType] # enumFromTo :: DeltaType -> DeltaType -> [DeltaType] # enumFromThenTo :: DeltaType -> DeltaType -> DeltaType -> [DeltaType] # | |
| Show DeltaType Source # | |
| Eq DeltaType Source # | |
| Ord DeltaType Source # | |
| BoxedEnum DeltaType Source # | |
Defined in GI.Ggit.Enums | |
| TypedObject DeltaType Source # | |
Defined in GI.Ggit.Enums | |
| HasParentTypes DeltaType Source # | |
Defined in GI.Ggit.Enums | |
| type ParentTypes DeltaType Source # | |
Defined in GI.Ggit.Enums | |
DiffBinaryType
data DiffBinaryType Source #
When producing a binary diff, the binary data returned will be either the deflated full ("literal") contents of the file, or the deflated binary delta between the two sides (whichever is smaller).
Constructors
| DiffBinaryTypeNone | No description available in the introspection data. |
| DiffBinaryTypeLiteral | No description available in the introspection data. |
| DiffBinaryTypeDelta | No description available in the introspection data. |
| AnotherDiffBinaryType Int | Catch-all for unknown values |
Instances
DiffFormatType
data DiffFormatType Source #
Possible output formats for diff data.
Constructors
| DiffFormatTypePatch | full git diff. |
| DiffFormatTypePatchHeader | just the file headers of patch. |
| DiffFormatTypeRaw | like git diff --raw. |
| DiffFormatTypeNameOnly | like git diff --name-only. |
| DiffFormatTypeNameStatus | like git diff --name-status. |
| AnotherDiffFormatType Int | Catch-all for unknown values |
Instances
DiffLineType
data DiffLineType Source #
These values describe where a line came from and will be passed to
the DiffLineCallback when iterating over a diff.
The GGIT_DIFF_LINE_FILE_HDR, GGIT_DIFF_LINE_HUNK_HDR and
GGIT_DIFF_LINE_BINARY values are only sent when the diff is being printed.
Constructors
| DiffLineTypeContext | line is part of the context. |
| DiffLineTypeAddition | line that was added. |
| DiffLineTypeDeletion | line that was removed. |
| DiffLineTypeContextEofnl | Both files have no LF at end. |
| DiffLineTypeAddEofnl | LF was added at end of file. |
| DiffLineTypeDelEofnl | LF was removed at end of file. |
| DiffLineTypeFileHdr | the file header. |
| DiffLineTypeHunkHdr | the hunk header. |
| DiffLineTypeBinary | is binary. |
| AnotherDiffLineType Int | Catch-all for unknown values |
Instances
Direction
No description available in the introspection data.
Constructors
| DirectionFetch | No description available in the introspection data. |
| DirectionPush | No description available in the introspection data. |
| AnotherDirection Int | Catch-all for unknown values |
Instances
| Enum Direction Source # | |
Defined in GI.Ggit.Enums Methods succ :: Direction -> Direction # pred :: Direction -> Direction # fromEnum :: Direction -> Int # enumFrom :: Direction -> [Direction] # enumFromThen :: Direction -> Direction -> [Direction] # enumFromTo :: Direction -> Direction -> [Direction] # enumFromThenTo :: Direction -> Direction -> Direction -> [Direction] # | |
| Show Direction Source # | |
| Eq Direction Source # | |
| Ord Direction Source # | |
| BoxedEnum Direction Source # | |
Defined in GI.Ggit.Enums | |
| TypedObject Direction Source # | |
Defined in GI.Ggit.Enums | |
| HasParentTypes Direction Source # | |
Defined in GI.Ggit.Enums | |
| type ParentTypes Direction Source # | |
Defined in GI.Ggit.Enums | |
Error
Error codes for the GGIT_ERROR error domain.
Constructors
| ErrorGitError | A generic error for when an operation fails. |
| ErrorNotfound | Input does not exist in the scope searched. |
| ErrorExists | A reference with this name already exists. |
| ErrorAmbiguous | The given error is ambiguous. |
| ErrorBufs | The buffer is too short. |
| ErrorPassthrough | Skip and passthrough the given ODB backend. |
| ErrorIterover | The iteration has finished. |
| AnotherError Int | Catch-all for unknown values |
Instances
| Enum Error Source # | |
| Show Error Source # | |
| Eq Error Source # | |
| Ord Error Source # | |
| BoxedEnum Error Source # | |
Defined in GI.Ggit.Enums | |
| TypedObject Error Source # | |
Defined in GI.Ggit.Enums | |
| GErrorClass Error Source # | |
Defined in GI.Ggit.Enums Methods gerrorClassDomain :: Error -> Text | |
| HasParentTypes Error Source # | |
Defined in GI.Ggit.Enums | |
| type ParentTypes Error Source # | |
Defined in GI.Ggit.Enums | |
catchError :: IO a -> (Error -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type Error. This is a specialized version of catchGErrorJustDomain.
handleError :: (Error -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type Error. This is a specialized version of handleGErrorJustDomain.
FileMode
No description available in the introspection data.
Constructors
| FileModeUnreadable | No description available in the introspection data. |
| FileModeTree | No description available in the introspection data. |
| FileModeBlob | No description available in the introspection data. |
| FileModeBlobExecutable | No description available in the introspection data. |
| FileModeLink | No description available in the introspection data. |
| FileModeCommit | No description available in the introspection data. |
| AnotherFileMode Int | Catch-all for unknown values |
Instances
| Enum FileMode Source # | |
| Show FileMode Source # | |
| Eq FileMode Source # | |
| Ord FileMode Source # | |
Defined in GI.Ggit.Enums | |
| BoxedEnum FileMode Source # | |
Defined in GI.Ggit.Enums | |
| TypedObject FileMode Source # | |
Defined in GI.Ggit.Enums | |
| HasParentTypes FileMode Source # | |
Defined in GI.Ggit.Enums | |
| type ParentTypes FileMode Source # | |
Defined in GI.Ggit.Enums | |
MergeFileFavor
data MergeFileFavor Source #
No description available in the introspection data.
Constructors
| MergeFileFavorNormal | No description available in the introspection data. |
| MergeFileFavorOurs | No description available in the introspection data. |
| MergeFileFavorTheirs | No description available in the introspection data. |
| MergeFileFavorUnion | No description available in the introspection data. |
| AnotherMergeFileFavor Int | Catch-all for unknown values |
Instances
PackbuilderStage
data PackbuilderStage Source #
Valid stages for pack building.
Constructors
| PackbuilderStageAddingObjects | adding objects. |
| PackbuilderStageDeltafication | deltafication. |
| AnotherPackbuilderStage Int | Catch-all for unknown values |
Instances
ProxyType
The type of proxy to use.
Constructors
| ProxyTypeNone | Do not attempt to connect through a proxy. |
| ProxyTypeAuto | Try to auto-detect the proxy from the git configuration. |
| ProxyTypeSpecified | Connect via the URL given in the options. |
| AnotherProxyType Int | Catch-all for unknown values |
Instances
| Enum ProxyType Source # | |
Defined in GI.Ggit.Enums Methods succ :: ProxyType -> ProxyType # pred :: ProxyType -> ProxyType # fromEnum :: ProxyType -> Int # enumFrom :: ProxyType -> [ProxyType] # enumFromThen :: ProxyType -> ProxyType -> [ProxyType] # enumFromTo :: ProxyType -> ProxyType -> [ProxyType] # enumFromThenTo :: ProxyType -> ProxyType -> ProxyType -> [ProxyType] # | |
| Show ProxyType Source # | |
| Eq ProxyType Source # | |
| Ord ProxyType Source # | |
| BoxedEnum ProxyType Source # | |
Defined in GI.Ggit.Enums | |
| TypedObject ProxyType Source # | |
Defined in GI.Ggit.Enums | |
| HasParentTypes ProxyType Source # | |
Defined in GI.Ggit.Enums | |
| type ParentTypes ProxyType Source # | |
Defined in GI.Ggit.Enums | |
RebaseOperationType
data RebaseOperationType Source #
Type of rebase operation in-progress.
Constructors
| RebaseOperationTypePick | The given commit is to be cherry-picked. The client should commit the changes and continue if there are no conflicts. |
| RebaseOperationTypeReword | The given commit is to be cherry-picked, but the client should prompt the user to provide an updated commit message. |
| RebaseOperationTypeEdit | The given commit is to be cherry-picked, but the client should stop to allow the user to edit the changes before committing them. |
| RebaseOperationTypeSquash | The given commit is to be squashed into the previous commit. The commit message will be merged with the previous message. |
| RebaseOperationTypeFixup | The given commit is to be squashed into the previous commit. The commit message from this commit will be discarded. |
| RebaseOperationTypeExec | No commit will be cherry-picked. The client should run the given command and (if successful) continue. |
| AnotherRebaseOperationType Int | Catch-all for unknown values |
Instances
RefType
Describes the type a reference is.
Constructors
| RefTypeInvalid | An invalid reference. |
| RefTypeOid | A reference which points at an object id. |
| RefTypeSymbolic | A reference which points at another reference. |
| RefTypeListall | All reference types. |
| AnotherRefType Int | Catch-all for unknown values |
Instances
| Enum RefType Source # | |
| Show RefType Source # | |
| Eq RefType Source # | |
| Ord RefType Source # | |
| BoxedEnum RefType Source # | |
Defined in GI.Ggit.Enums | |
| TypedObject RefType Source # | |
Defined in GI.Ggit.Enums | |
| HasParentTypes RefType Source # | |
Defined in GI.Ggit.Enums | |
| type ParentTypes RefType Source # | |
Defined in GI.Ggit.Enums | |
RemoteCompletionType
data RemoteCompletionType Source #
Argument to the completion callback which tells it which operation finished.
Constructors
| RemoteCompletionTypeDownload | download. |
| RemoteCompletionTypeIndexing | indexing. |
| RemoteCompletionTypeError | error. |
| AnotherRemoteCompletionType Int | Catch-all for unknown values |
Instances
RemoteDownloadTagsType
data RemoteDownloadTagsType Source #
Automatic tag following option
Lets us select the --tags option to use.
Constructors
| RemoteDownloadTagsTypeUnspecified | Use the setting from the configuration. |
| RemoteDownloadTagsTypeAuto | Ask the server for tags pointing to objects we're already downloading. |
| RemoteDownloadTagsTypeNone | Don't ask for any tags beyond the refspecs. |
| RemoteDownloadTagsTypeAll | Ask for the all the tags. |
| AnotherRemoteDownloadTagsType Int | Catch-all for unknown values |
Instances
ResetType
Describes the type of reset to perform.
Constructors
| ResetTypeSoft | The head will be moved to the commit. |
| ResetTypeMixed | the head will be moved to the commit and the index will be replaced with the content of the commit tree. |
| ResetTypeHard | MIXED plus changes in working tree discarded. |
| AnotherResetType Int | Catch-all for unknown values |
Instances
| Enum ResetType Source # | |
Defined in GI.Ggit.Enums Methods succ :: ResetType -> ResetType # pred :: ResetType -> ResetType # fromEnum :: ResetType -> Int # enumFrom :: ResetType -> [ResetType] # enumFromThen :: ResetType -> ResetType -> [ResetType] # enumFromTo :: ResetType -> ResetType -> [ResetType] # enumFromThenTo :: ResetType -> ResetType -> ResetType -> [ResetType] # | |
| Show ResetType Source # | |
| Eq ResetType Source # | |
| Ord ResetType Source # | |
| BoxedEnum ResetType Source # | |
Defined in GI.Ggit.Enums | |
| TypedObject ResetType Source # | |
Defined in GI.Ggit.Enums | |
| HasParentTypes ResetType Source # | |
Defined in GI.Ggit.Enums | |
| type ParentTypes ResetType Source # | |
Defined in GI.Ggit.Enums | |
StatusShow
data StatusShow Source #
Show options for ggit_repository_file_status_foreach. Determines which
files are included in the status.
Constructors
| StatusShowIndexAndWorkdir | receive one callback for each file,
even if the file is in both the index and the workdir (combining |
| StatusShowIndexOnly | only receive callbacks for files in the index. |
| StatusShowWorkdirOnly | only receive callbacks for files in the workdir. |
| AnotherStatusShow Int | Catch-all for unknown values |
Instances
SubmoduleIgnore
data SubmoduleIgnore Source #
Describes which submodules should be ignored.
Constructors
| SubmoduleIgnoreUnspecified | reset to on-disk value. |
| SubmoduleIgnoreNone | don't ignore any change. |
| SubmoduleIgnoreUntracked | ignore untracked files. |
| SubmoduleIgnoreDirty | ignore changes in the working directory. |
| SubmoduleIgnoreAll | never check if the submodule is dirty. |
| AnotherSubmoduleIgnore Int | Catch-all for unknown values |
Instances
SubmoduleRecurse
data SubmoduleRecurse Source #
Options for submodule recurse.
Represents the value of submodule.$name.fetchRecurseSubmodules
Constructors
| SubmoduleRecurseNo | do no recurse into submodules. |
| SubmoduleRecurseYes | recurse into submodules. |
| SubmoduleRecurseOndemand | recurse into submodules only when commit not already in local clone. |
| AnotherSubmoduleRecurse Int | Catch-all for unknown values |
Instances
SubmoduleUpdate
data SubmoduleUpdate Source #
Describes how a submodule should be updated.
Constructors
| SubmoduleUpdateCheckout | checkout the submodule. |
| SubmoduleUpdateRebase | rebase the current branch onto the commit recorded in the superproject. |
| SubmoduleUpdateMerge | merge the commit recorded in the superproject into the current branch. |
| SubmoduleUpdateNone | do not update this submodule. |
| SubmoduleUpdateDefault | not used except as static initializer when we don't want any particular update rule to be specified. |
| AnotherSubmoduleUpdate Int | Catch-all for unknown values |
Instances
TreeWalkMode
data TreeWalkMode Source #
Describes in which order a tree walk should be performed.
Constructors
| TreeWalkModePre | walk tree in pre-order |
| TreeWalkModePost | walk tree in post-order |
| AnotherTreeWalkMode Int | Catch-all for unknown values |