class Repos[C, M[_]] extends AnyRef
Factory to encapsulate calls related to Repositories operations
- Alphabetic
- By Inheritance
- Repos
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Repos()(implicit urls: GithubApiUrls, C: Capture[M], httpClientImpl: HttpRequestBuilderExtension[C, M])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String): M[GHResponse[Repository]]
Get information of a particular repository
Get information of a particular repository
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- returns
GHResponse[Repository] repository details
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- val httpClient: HttpClient[C, M]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
listCommits(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String, sha: Option[String] = None, path: Option[String] = None, author: Option[String] = None, since: Option[String] = None, until: Option[String] = None, pagination: Option[Pagination] = Some(httpClient.defaultPagination)): M[GHResponse[List[Commit]]]
Retrieve the list of commits for a particular repo
Retrieve the list of commits for a particular repo
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- sha
branch to start listing commits from
- path
commits containing this file path will be returned
- author
GitHub login or email address by which to filter by commit author.
- since
Only commits after this date will be returned
- until
Only commits before this date will be returned
- pagination
Limit and Offset for pagination
- returns
GHResponse[List[Commit]\] List of commit's details
-
def
listContributors(accessToken: Option[String] = None, headers: Map[String, String] = Map(), owner: String, repo: String, anon: Option[String] = None): M[GHResponse[List[User]]]
Fetch contributors list for the the specified repository, sorted by the number of commits per contributor in descending order.
Fetch contributors list for the the specified repository, sorted by the number of commits per contributor in descending order.
- accessToken
to identify the authenticated user
- headers
optional user headers to include in the request
- owner
of the repo
- repo
name of the repo
- anon
Set to 1 or true to include anonymous contributors in results
- returns
GHResponse[List[User]\] List of contributors associated with the specified repository.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )