Options
All
  • Public
  • Public/Protected
  • All
Menu

Resolve a RemoteRepoRef from data in our model

Hierarchy

  • RepoRefResolver

Implemented by

Index

Methods

providerIdFromPush

  • providerIdFromPush(push: Push): string | null

repoRefFromPush

  • repoRefFromPush(push: Push): RemoteRepoRef

repoRefFromSdmGoal

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
    • opts: { branch?: string; sha?: string }

      options - sha or branch

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

    Returns RemoteRepoRef

Generated using TypeDoc