Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/fs/get"

Index

Type aliases

IOptions

IOptions: object

Type declaration

  • Optional extensions?: string[]
  • Optional onlyDir?: boolean
  • Optional onlyFile?: boolean
  • paths: string[]

Functions

_searchGlobSync

  • _searchGlobSync(file: any, options: IOptions, cwd?: string): string[]

existsSync

  • existsSync(path: string, options?: object): boolean
  • Parameters

    • path: string
    • Default value options: object = {}
      • Optional onlyDir?: boolean
      • Optional onlyFile?: boolean

    Returns boolean

getOptions

searchFirstSync

  • searchFirstSync(file: string, options: IOptions): string
  • searchFirstSync(file: string, paths?: string[]): string

searchGlobSync

  • searchGlobSync(file: string, options: IOptions): string[]
  • searchGlobSync(file: string, paths?: string[]): string[]

Generated using TypeDoc