External module "lib/fs/get"
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[]
-
Parameters
-
file: any
-
-
Optional cwd: string
Returns string[]
existsSync
- existsSync(path: string, options?: object): boolean
-
Parameters
-
path: string
-
Default value options: object = {}
-
Optional onlyDir?: boolean
-
Optional onlyFile?: boolean
Returns boolean
getOptions
-
Type parameters
Parameters
-
Parameters
-
Parameters
Returns boolean
searchFirstSync
- searchFirstSync(file: string, options: IOptions): string
- searchFirstSync(file: string, paths?: string[]): string
-
Parameters
Returns string
-
Parameters
-
file: string
-
Optional paths: string[]
Returns string
searchGlobSync
- searchGlobSync(file: string, options: IOptions): string[]
- searchGlobSync(file: string, paths?: string[]): string[]
-
Parameters
Returns string[]
-
Parameters
-
file: string
-
Optional paths: string[]
Returns string[]