Options
All
  • Public
  • Public/Protected
  • All
Menu

RemoteRepoRef working against our expanded directory structure. Supports cloning and pushing.

Hierarchy

  • AbstractRemoteRepoRef
    • FileSystemRemoteRepoRef

Implements

  • RemoteRepoRef

Index

Constructors

constructor

Properties

apiBase

apiBase: string

Optional branch

branch: string

kind

kind: string = "file"

mergePullRequests

mergePullRequests: boolean

owner

owner: string

Optional path

path: string

pathComponent

pathComponent: string

providerType

providerType: ProviderType

remoteBase

remoteBase: string

Remote url not including scheme or trailing '/'

repo

repo: string

repositoryOwnerParentDirectory

repositoryOwnerParentDirectory: string

scheme

scheme: "http://" | "https://"

sha

sha: string

Accessors

fileSystemLocation

  • get fileSystemLocation(): string

url

  • get url(): string

Methods

cloneUrl

  • cloneUrl(): string

createRemote

  • createRemote(creds: ProjectOperationCredentials, description: string, visibility: any): Promise<ActionResult<this>>

deleteRemote

  • deleteRemote(creds: ProjectOperationCredentials): Promise<ActionResult<this>>

raisePullRequest

  • raisePullRequest(creds: ProjectOperationCredentials, title: string, body: string, head: string, base: string): Promise<ActionResult<this>>

setUserConfig

  • setUserConfig(credentials: ProjectOperationCredentials, project: Configurable): Promise<ActionResult<any>>

Static fromDirectory

Static implied

  • implied(repositoryOwnerParentDirectory: string, mergePullRequests: boolean, owner: string, repo: string): RemoteRepoRef
  • Remote RepoRef for the given owner and directory. Not guaranteed to exist.

    Parameters

    • repositoryOwnerParentDirectory: string
    • mergePullRequests: boolean
    • owner: string
    • repo: string

    Returns RemoteRepoRef

Generated using TypeDoc