Safe Haskell | None |
---|---|
Language | Haskell98 |
- runGit :: Config -> GitCtx t -> IO t
- type GitFailure = (Int, String, String, String, [String])
- gitExec :: String -> [String] -> [(String, String)] -> GitCtx (Either GitFailure String)
- gitError :: GitFailure -> String -> b
- data GitCtx a
- makeConfig :: FilePath -> Maybe FilePath -> Config
- data Object
- data Config = Config {}
- data Commitent = Commitent {
- ceParents :: [CommitID]
- ceTree :: TreeID
- ceAuthor :: Person
- ceAuthorTime :: String
- ceCommitter :: Person
- ceCommitterTime :: String
- ceCommitMsg :: String
- data Person = Person {}
- type ID = String
- type CommitID = ID
- type BlobID = ID
- type TreeID = ID
- type TagID = ID
- toID :: String -> ID
- objToID :: Object -> ID
- objOfString :: String -> ID -> Maybe Object
Documentation
gitExec :: String -> [String] -> [(String, String)] -> GitCtx (Either GitFailure String) Source
internal function to execute a git command
gitError :: GitFailure -> String -> b Source
internal function to call on failure to make a friendly error message
Tagged ID of all possible types
Represent a repository
Commit entity representation
Commitent | |
|
Commit object author/commiter representation
Person | |
|