License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data Repo = Repo {
- repoSshUrl :: !(Maybe URL)
- repoDescription :: !(Maybe Text)
- repoCreatedAt :: !(Maybe UTCTime)
- repoHtmlUrl :: !URL
- repoSvnUrl :: !(Maybe URL)
- repoForks :: !(Maybe Int)
- repoHomepage :: !(Maybe Text)
- repoFork :: !(Maybe Bool)
- repoGitUrl :: !(Maybe URL)
- repoPrivate :: !Bool
- repoArchived :: !Bool
- repoCloneUrl :: !(Maybe URL)
- repoSize :: !(Maybe Int)
- repoUpdatedAt :: !(Maybe UTCTime)
- repoWatchers :: !(Maybe Int)
- repoOwner :: !SimpleOwner
- repoName :: !(Name Repo)
- repoLanguage :: !(Maybe Language)
- repoDefaultBranch :: !(Maybe Text)
- repoPushedAt :: !(Maybe UTCTime)
- repoId :: !(Id Repo)
- repoUrl :: !URL
- repoOpenIssues :: !(Maybe Int)
- repoHasWiki :: !(Maybe Bool)
- repoHasIssues :: !(Maybe Bool)
- repoHasDownloads :: !(Maybe Bool)
- repoParent :: !(Maybe RepoRef)
- repoSource :: !(Maybe RepoRef)
- repoHooksUrl :: !URL
- repoStargazersCount :: !Int
- data RepoRef = RepoRef {
- repoRefOwner :: !SimpleOwner
- repoRefRepo :: !(Name Repo)
- data NewRepo = NewRepo {
- newRepoName :: !(Name Repo)
- newRepoDescription :: !(Maybe Text)
- newRepoHomepage :: !(Maybe Text)
- newRepoPrivate :: !(Maybe Bool)
- newRepoHasIssues :: !(Maybe Bool)
- newRepoHasWiki :: !(Maybe Bool)
- newRepoAutoInit :: !(Maybe Bool)
- newRepo :: Name Repo -> NewRepo
- data EditRepo = EditRepo {
- editName :: !(Maybe (Name Repo))
- editDescription :: !(Maybe Text)
- editHomepage :: !(Maybe Text)
- editPublic :: !(Maybe Bool)
- editHasIssues :: !(Maybe Bool)
- editHasWiki :: !(Maybe Bool)
- editHasDownloads :: !(Maybe Bool)
- data RepoPublicity
- type Languages = HashMap Language Int
- newtype Language = Language Text
- getLanguage :: Language -> Text
- data Contributor
- contributorToSimpleUser :: Contributor -> Maybe SimpleUser
- data ArchiveFormat
Documentation
Repo | |
|
Instances
RepoRef | |
|
Instances
Eq RepoRef Source # | |
Data RepoRef Source # | |
Defined in GitHub.Data.Repos gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RepoRef -> c RepoRef # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RepoRef # toConstr :: RepoRef -> Constr # dataTypeOf :: RepoRef -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RepoRef) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RepoRef) # gmapT :: (forall b. Data b => b -> b) -> RepoRef -> RepoRef # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RepoRef -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RepoRef -> r # gmapQ :: (forall d. Data d => d -> u) -> RepoRef -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> RepoRef -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RepoRef -> m RepoRef # | |
Ord RepoRef Source # | |
Show RepoRef Source # | |
Generic RepoRef Source # | |
FromJSON RepoRef Source # | |
Binary RepoRef Source # | |
NFData RepoRef Source # | |
Defined in GitHub.Data.Repos | |
type Rep RepoRef Source # | |
Defined in GitHub.Data.Repos type Rep RepoRef = D1 (MetaData "RepoRef" "GitHub.Data.Repos" "github-0.21-4ub3OwsHN9iKbFFFtffuFt" False) (C1 (MetaCons "RepoRef" PrefixI True) (S1 (MetaSel (Just "repoRefOwner") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SimpleOwner) :*: S1 (MetaSel (Just "repoRefRepo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Name Repo)))) |
NewRepo | |
|
Instances
EditRepo | |
|
Instances
data RepoPublicity Source #
Filter the list of the user's repos using any of these constructors.
RepoPublicityAll | All repos accessible to the user. |
RepoPublicityOwner | Only repos owned by the user. |
RepoPublicityPublic | Only public repos. |
RepoPublicityPrivate | Only private repos. |
RepoPublicityMember | Only repos to which the user is a member but not an owner. |
Instances
type Languages = HashMap Language Int Source #
The value is the number of bytes of code written in that language.
A programming language.
Instances
Eq Language Source # | |
Data Language Source # | |
Defined in GitHub.Data.Repos gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Language -> c Language # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Language # toConstr :: Language -> Constr # dataTypeOf :: Language -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Language) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Language) # gmapT :: (forall b. Data b => b -> b) -> Language -> Language # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Language -> r # gmapQ :: (forall d. Data d => d -> u) -> Language -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Language -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Language -> m Language # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Language -> m Language # | |
Ord Language Source # | |
Defined in GitHub.Data.Repos | |
Show Language Source # | |
IsString Language Source # | |
Defined in GitHub.Data.Repos fromString :: String -> Language # | |
Generic Language Source # | |
Hashable Language Source # | |
Defined in GitHub.Data.Repos | |
ToJSON Language Source # | |
Defined in GitHub.Data.Repos | |
FromJSON Language Source # | |
FromJSONKey Language Source # | |
Defined in GitHub.Data.Repos | |
Binary Language Source # | |
NFData Language Source # | |
Defined in GitHub.Data.Repos | |
type Rep Language Source # | |
Defined in GitHub.Data.Repos |
getLanguage :: Language -> Text Source #
data Contributor Source #
KnownContributor !Int !URL !(Name User) !URL !(Id User) !Text | An existing Github user, with their number of contributions, avatar URL, login, URL, ID, and Gravatar ID. |
AnonymousContributor !Int !Text | An unknown Github user with their number of contributions and recorded name. |
Instances
data ArchiveFormat Source #
ArchiveFormatTarball | ".tar.gz" format |
ArchiveFormatZipball | ".zip" format |