License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data CommitQueryOption
- data Stats = Stats {
- statsAdditions :: !Int
- statsTotal :: !Int
- statsDeletions :: !Int
- data Commit = Commit {
- commitSha :: !(Name Commit)
- commitParents :: !(Vector Tree)
- commitUrl :: !URL
- commitGitCommit :: !GitCommit
- commitCommitter :: !(Maybe SimpleUser)
- commitAuthor :: !(Maybe SimpleUser)
- commitFiles :: !(Vector File)
- commitStats :: !(Maybe Stats)
- data Tree = Tree {}
- data GitTree = GitTree {
- gitTreeType :: !Text
- gitTreeSha :: !(Name GitTree)
- gitTreeUrl :: !(Maybe URL)
- gitTreeSize :: !(Maybe Int)
- gitTreePath :: !Text
- gitTreeMode :: !Text
- data GitCommit = GitCommit {
- gitCommitMessage :: !Text
- gitCommitUrl :: !URL
- gitCommitCommitter :: !GitUser
- gitCommitAuthor :: !GitUser
- gitCommitTree :: !Tree
- gitCommitSha :: !(Maybe (Name GitCommit))
- gitCommitParents :: !(Vector Tree)
- data Blob = Blob {}
- data Tag = Tag {
- tagName :: !Text
- tagZipballUrl :: !URL
- tagTarballUrl :: !URL
- tagCommit :: !BranchCommit
- data Branch = Branch {
- branchName :: !Text
- branchCommit :: !BranchCommit
- data BranchCommit = BranchCommit {
- branchCommitSha :: !Text
- branchCommitUrl :: !URL
- data Diff = Diff {
- diffStatus :: !Text
- diffBehindBy :: !Int
- diffPatchUrl :: !URL
- diffUrl :: !URL
- diffBaseCommit :: !Commit
- diffCommits :: !(Vector Commit)
- diffTotalCommits :: !Int
- diffHtmlUrl :: !URL
- diffFiles :: !(Vector File)
- diffAheadBy :: !Int
- diffDiffUrl :: !URL
- diffPermalinkUrl :: !URL
- data NewGitReference = NewGitReference {}
- data GitReference = GitReference {}
- data GitObject = GitObject {
- gitObjectType :: !Text
- gitObjectSha :: !Text
- gitObjectUrl :: !URL
- data GitUser = GitUser {
- gitUserName :: !Text
- gitUserEmail :: !Text
- gitUserDate :: !UTCTime
- data File = File {
- fileBlobUrl :: !(Maybe URL)
- fileStatus :: !Text
- fileRawUrl :: !(Maybe URL)
- fileAdditions :: !Int
- fileSha :: !(Maybe Text)
- fileChanges :: !Int
- filePatch :: !(Maybe Text)
- fileFilename :: !Text
- fileDeletions :: !Int
Documentation
data CommitQueryOption Source #
The options for querying commits.
CommitQuerySha !Text | |
CommitQueryPath !Text | |
CommitQueryAuthor !Text | |
CommitQuerySince !UTCTime | |
CommitQueryUntil !UTCTime |
Instances
Stats | |
|
Instances
Eq Stats Source # | |
Data Stats Source # | |
Defined in GitHub.Data.GitData gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Stats -> c Stats # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Stats # dataTypeOf :: Stats -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Stats) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Stats) # gmapT :: (forall b. Data b => b -> b) -> Stats -> Stats # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Stats -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Stats -> r # gmapQ :: (forall d. Data d => d -> u) -> Stats -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Stats -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Stats -> m Stats # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Stats -> m Stats # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Stats -> m Stats # | |
Ord Stats Source # | |
Show Stats Source # | |
Generic Stats Source # | |
FromJSON Stats Source # | |
Binary Stats Source # | |
NFData Stats Source # | |
Defined in GitHub.Data.GitData | |
type Rep Stats Source # | |
Defined in GitHub.Data.GitData type Rep Stats = D1 (MetaData "Stats" "GitHub.Data.GitData" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" False) (C1 (MetaCons "Stats" PrefixI True) (S1 (MetaSel (Just "statsAdditions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "statsTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "statsDeletions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))) |
Commit | |
|
Instances
Instances
Eq Tree Source # | |
Data Tree Source # | |
Defined in GitHub.Data.GitData gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tree -> c Tree # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tree # dataTypeOf :: Tree -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tree) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tree) # gmapT :: (forall b. Data b => b -> b) -> Tree -> Tree # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tree -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tree -> r # gmapQ :: (forall d. Data d => d -> u) -> Tree -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tree -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tree -> m Tree # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tree -> m Tree # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tree -> m Tree # | |
Ord Tree Source # | |
Show Tree Source # | |
Generic Tree Source # | |
FromJSON Tree Source # | |
Binary Tree Source # | |
NFData Tree Source # | |
Defined in GitHub.Data.GitData | |
type Rep Tree Source # | |
Defined in GitHub.Data.GitData type Rep Tree = D1 (MetaData "Tree" "GitHub.Data.GitData" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" False) (C1 (MetaCons "Tree" PrefixI True) (S1 (MetaSel (Just "treeSha") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name Tree)) :*: (S1 (MetaSel (Just "treeUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "treeGitTrees") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Vector GitTree))))) |
GitTree | |
|
Instances
GitCommit | |
|
Instances
Instances
Eq Blob Source # | |
Data Blob Source # | |
Defined in GitHub.Data.GitData gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Blob -> c Blob # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Blob # dataTypeOf :: Blob -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Blob) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Blob) # gmapT :: (forall b. Data b => b -> b) -> Blob -> Blob # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Blob -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Blob -> r # gmapQ :: (forall d. Data d => d -> u) -> Blob -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Blob -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Blob -> m Blob # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Blob -> m Blob # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Blob -> m Blob # | |
Ord Blob Source # | |
Show Blob Source # | |
Generic Blob Source # | |
FromJSON Blob Source # | |
Binary Blob Source # | |
NFData Blob Source # | |
Defined in GitHub.Data.GitData | |
type Rep Blob Source # | |
Defined in GitHub.Data.GitData type Rep Blob = D1 (MetaData "Blob" "GitHub.Data.GitData" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" False) (C1 (MetaCons "Blob" PrefixI True) ((S1 (MetaSel (Just "blobUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "blobEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "blobContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "blobSha") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name Blob)) :*: S1 (MetaSel (Just "blobSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))) |
Tag | |
|
Instances
Eq Tag Source # | |
Data Tag Source # | |
Defined in GitHub.Data.GitData gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tag -> c Tag # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tag # dataTypeOf :: Tag -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tag) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tag) # gmapT :: (forall b. Data b => b -> b) -> Tag -> Tag # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tag -> r # gmapQ :: (forall d. Data d => d -> u) -> Tag -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tag -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tag -> m Tag # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tag -> m Tag # | |
Ord Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
FromJSON Tag Source # | |
Binary Tag Source # | |
NFData Tag Source # | |
Defined in GitHub.Data.GitData | |
type Rep Tag Source # | |
Defined in GitHub.Data.GitData type Rep Tag = D1 (MetaData "Tag" "GitHub.Data.GitData" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" False) (C1 (MetaCons "Tag" PrefixI True) ((S1 (MetaSel (Just "tagName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "tagZipballUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL)) :*: (S1 (MetaSel (Just "tagTarballUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL) :*: S1 (MetaSel (Just "tagCommit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BranchCommit)))) |
Branch | |
|
Instances
Eq Branch Source # | |
Data Branch Source # | |
Defined in GitHub.Data.GitData gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Branch -> c Branch # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Branch # toConstr :: Branch -> Constr # dataTypeOf :: Branch -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Branch) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Branch) # gmapT :: (forall b. Data b => b -> b) -> Branch -> Branch # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Branch -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Branch -> r # gmapQ :: (forall d. Data d => d -> u) -> Branch -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Branch -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Branch -> m Branch # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Branch -> m Branch # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Branch -> m Branch # | |
Ord Branch Source # | |
Show Branch Source # | |
Generic Branch Source # | |
FromJSON Branch Source # | |
NFData Branch Source # | |
Defined in GitHub.Data.GitData | |
type Rep Branch Source # | |
Defined in GitHub.Data.GitData type Rep Branch = D1 (MetaData "Branch" "GitHub.Data.GitData" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" False) (C1 (MetaCons "Branch" PrefixI True) (S1 (MetaSel (Just "branchName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "branchCommit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BranchCommit))) |
data BranchCommit Source #
Instances
Diff | |
|
Instances
data NewGitReference Source #
Instances
data GitReference Source #
Instances
GitObject | |
|
Instances
Eq GitObject Source # | |
Data GitObject Source # | |
Defined in GitHub.Data.GitData gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GitObject -> c GitObject # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GitObject # toConstr :: GitObject -> Constr # dataTypeOf :: GitObject -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GitObject) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GitObject) # gmapT :: (forall b. Data b => b -> b) -> GitObject -> GitObject # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GitObject -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GitObject -> r # gmapQ :: (forall d. Data d => d -> u) -> GitObject -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> GitObject -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> GitObject -> m GitObject # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GitObject -> m GitObject # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GitObject -> m GitObject # | |
Ord GitObject Source # | |
Defined in GitHub.Data.GitData | |
Show GitObject Source # | |
Generic GitObject Source # | |
FromJSON GitObject Source # | |
Binary GitObject Source # | |
NFData GitObject Source # | |
Defined in GitHub.Data.GitData | |
type Rep GitObject Source # | |
Defined in GitHub.Data.GitData type Rep GitObject = D1 (MetaData "GitObject" "GitHub.Data.GitData" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" False) (C1 (MetaCons "GitObject" PrefixI True) (S1 (MetaSel (Just "gitObjectType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "gitObjectSha") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "gitObjectUrl") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 URL)))) |
GitUser | |
|
Instances
Eq GitUser Source # | |
Data GitUser Source # | |
Defined in GitHub.Data.GitData gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GitUser -> c GitUser # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GitUser # toConstr :: GitUser -> Constr # dataTypeOf :: GitUser -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GitUser) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GitUser) # gmapT :: (forall b. Data b => b -> b) -> GitUser -> GitUser # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GitUser -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GitUser -> r # gmapQ :: (forall d. Data d => d -> u) -> GitUser -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> GitUser -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> GitUser -> m GitUser # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GitUser -> m GitUser # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GitUser -> m GitUser # | |
Ord GitUser Source # | |
Show GitUser Source # | |
Generic GitUser Source # | |
FromJSON GitUser Source # | |
Binary GitUser Source # | |
NFData GitUser Source # | |
Defined in GitHub.Data.GitData | |
type Rep GitUser Source # | |
Defined in GitHub.Data.GitData type Rep GitUser = D1 (MetaData "GitUser" "GitHub.Data.GitData" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" False) (C1 (MetaCons "GitUser" PrefixI True) (S1 (MetaSel (Just "gitUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "gitUserEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "gitUserDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UTCTime)))) |
File | |
|