Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DefaultRepoRefResolver

Implements

Index

Methods

providerIdFromPush

  • providerIdFromPush(push: Push): string

repoRefFromPush

  • repoRefFromPush(push: Push): RemoteRepoRef

repoRefFromSdmGoal

toBitBucketServerRepoRef

  • toBitBucketServerRepoRef(params: { branch?: string; name: string; owner: string; providerUrl: string; sha: string }): BitBucketServerRepoRef
  • Parameters

    • params: { branch?: string; name: string; owner: string; providerUrl: string; sha: string }
      • Optional branch?: string
      • name: string
      • owner: string
      • providerUrl: string
      • sha: string

    Returns BitBucketServerRepoRef

toRemoteRepoRef

  • toRemoteRepoRef(repo: Fragment, opts?: { branch?: string; sha?: string }): RemoteRepoRef
  • Convert GraphQL return to our remote repo ref, instantiating the correct type based on provider

    Parameters

    • repo: Fragment
    • Default value opts: { branch?: string; sha?: string } = {}

      options - sha or branch

      • Optional branch?: string
      • Optional sha?: string

    Returns RemoteRepoRef

Generated using TypeDoc