License | BSD-3-Clause |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
- data Repo = Repo {
- repoSshUrl :: !(Maybe Text)
- repoDescription :: !(Maybe Text)
- repoCreatedAt :: !(Maybe UTCTime)
- repoHtmlUrl :: !Text
- repoSvnUrl :: !(Maybe Text)
- repoForks :: !(Maybe Int)
- repoHomepage :: !(Maybe Text)
- repoFork :: !(Maybe Bool)
- repoGitUrl :: !(Maybe Text)
- repoPrivate :: !Bool
- repoCloneUrl :: !(Maybe Text)
- repoSize :: !(Maybe Int)
- repoUpdatedAt :: !(Maybe UTCTime)
- repoWatchers :: !(Maybe Int)
- repoOwner :: !SimpleOwner
- repoName :: !(Name Repo)
- repoLanguage :: !(Maybe Language)
- repoMasterBranch :: !(Maybe Text)
- repoPushedAt :: !(Maybe UTCTime)
- repoId :: !(Id Repo)
- repoUrl :: !Text
- repoOpenIssues :: !(Maybe Int)
- repoHasWiki :: !(Maybe Bool)
- repoHasIssues :: !(Maybe Bool)
- repoHasDownloads :: !(Maybe Bool)
- repoParent :: !(Maybe RepoRef)
- repoSource :: !(Maybe RepoRef)
- repoHooksUrl :: !Text
- 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
Documentation
Repo | |
|
RepoRef | |
|
NewRepo | |
|
EditRepo | |
|
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. |
type Languages = HashMap Language Int Source
The value is the number of bytes of code written in that language.
A programming language.
getLanguage :: Language -> Text Source
data Contributor Source