Class

io.scalajs.npm.githubapinode

RepositoryEnrichment

Related Doc: package githubapinode

Permalink

implicit final class RepositoryEnrichment extends AnyVal

Repository Enrichment

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RepositoryEnrichment
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RepositoryEnrichment(repo: Repositories)

    Permalink

    repo

    the given Repositories instance

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def branchFuture(oldBranchName: String, newBranchName: String): Future[Unit]

    Permalink

    Create new branch for repo.

    Create new branch for repo. You can omit oldBranchName to default to "master".

    oldBranchName

    the old branch name

    newBranchName

    the new branch name

    returns

    a promise of completion

    Annotations
    @inline()
  6. def branchFuture(newBranchName: String): Future[Unit]

    Permalink

    Create new branch for repo.

    Create new branch for repo. You can omit oldBranchName to default to "master".

    newBranchName

    the new branch name

    returns

    a promise of completion

    Annotations
    @inline()
  7. def contentsFuture(branch: String, pathToDir: String): Future[Array[Content]]

    Permalink

    Get contents at a particular path in a particular branch.

    Get contents at a particular path in a particular branch.

    branch

    the desired branch (e.g. "master")

    pathToDir

    the "path to" directory

    returns

    a promise of the contents

    Annotations
    @inline()
  8. def contributorsFuture: Future[Array[Contributor]]

    Permalink

    Get contributors list with additions, deletions, and commit counts.

    Get contributors list with additions, deletions, and commit counts.

    returns

    a promise of the contributors

    Annotations
    @inline()
  9. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  10. def getCommitFuture(branch: String, sha: String): Future[Commit]

    Permalink

    Get information about a particular commit.

    Get information about a particular commit.

    branch

    the branch name

    sha

    the SHA key

    returns

    a promise of the commit

    Annotations
    @inline()
  11. def getStatusesFuture(sha: String): Future[Array[CommitStatus]]

    Permalink

    Get list of statuses for a particular commit.

    Get list of statuses for a particular commit.

    sha

    the SHA key

    returns

    a promise of the array of commit statuses

    Annotations
    @inline()
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def isStarredFuture(owner: String, repository: String): Future[Boolean]

    Permalink

    Check if a repository is starred.

    Check if a repository is starred.

    owner

    the owner

    repository

    the repository

    returns

    the completion callback

    Annotations
    @inline()
  14. def listBranchesFuture: Future[Array[String]]

    Permalink

    Retrieve all available branches (aka heads) of a repository.

    Retrieve all available branches (aka heads) of a repository.

    returns

    a promise of the array of branches

    Annotations
    @inline()
  15. def readFuture(branch: String, pathToFile: String): Future[Any]

    Permalink

    Reads stored content

    Reads stored content

    branch

    the branch name

    pathToFile

    the path to the content

    returns

    a promise of the content

    Annotations
    @inline()
  16. def removeFuture(branch: String, pathToFile: String): Future[Unit]

    Permalink

    Remove a file.

    Remove a file.

    branch

    the branch name

    pathToFile

    the path to the content

    returns

    a promise of completion

    Annotations
    @inline()
  17. val repo: Repositories

    Permalink

    the given Repositories instance

  18. def showFuture: Future[Repository]

    Permalink

    Show repository information

    Show repository information

    returns

    a promise of a Repository

    Annotations
    @inline()
  19. def toString(): String

    Permalink
    Definition Classes
    Any
  20. def writeFuture(branch: String, pathToFile: String, contents: String, commitMessage: String, options: RawOptions): Future[Unit]

    Permalink

    Store content at a certain path.

    Store content at a certain path. If the file specified in the path exists, the content is updated. If the file doesn't exist, it's created on the fly. You can also provide an optional object literal, (options in the example below) containing information about the author and the committer.

    branch

    the branch name

    pathToFile

    the path to the content

    contents

    the user content

    commitMessage

    the commit message

    options

    the optional settings

    returns

    a promise of completion

    Annotations
    @inline()

Inherited from AnyVal

Inherited from Any

Ungrouped