Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GitLocatorImpl

Hierarchy

  • GitLocatorImpl

Implements

Index

Constructors

constructor

  • new GitLocatorImpl(options?: { error?: (message: string, ...args: any[]) => void; info?: (message: string, ...args: any[]) => void }): GitLocatorImpl
  • Parameters

    • Optional options: { error?: (message: string, ...args: any[]) => void; info?: (message: string, ...args: any[]) => void }
      • Optional error?: (message: string, ...args: any[]) => void
          • (message: string, ...args: any[]): void
          • Parameters

            • message: string
            • Rest ...args: any[]

            Returns void

      • Optional info?: (message: string, ...args: any[]) => void
          • (message: string, ...args: any[]): void
          • Parameters

            • message: string
            • Rest ...args: any[]

            Returns void

    Returns GitLocatorImpl

Properties

Protected Readonly options

options: { error: (message: string, ...args: any[]) => void; info: (message: string, ...args: any[]) => void }

Type declaration

  • error: (message: string, ...args: any[]) => void
      • (message: string, ...args: any[]): void
      • Parameters

        • message: string
        • Rest ...args: any[]

        Returns void

  • info: (message: string, ...args: any[]) => void
      • (message: string, ...args: any[]): void
      • Parameters

        • message: string
        • Rest ...args: any[]

        Returns void

Methods

dispose

  • dispose(): void

Protected doLocate

Protected generateNested

  • generateNested(repositoryPaths: string[], context: GitLocateContext): IterableIterator<Promise<string[]>>

Protected generateRepositories

  • generateRepositories(repositoryPath: string, files: string[], context: GitLocateContext): IterableIterator<Promise<string[]>>

locate

Protected locateFrom

  • locateFrom(generator: (context: GitLocateContext) => IterableIterator<Promise<string[]>>, parentContext: GitLocateContext, initial?: string[]): Promise<string[]>

Protected locateNested

  • locateNested(repositoryPath: string, context: GitLocateContext): Promise<string[]>

Static map

  • map(repository: string): string