1 | /**
|
2 | * If the user has specified the `bin` option,
|
3 | * we need to ensure these paths are valid directories
|
4 | * and read the executables from them
|
5 | */
|
6 | export declare const addBinLookupsToObject: (config: any) => any;
|
7 | /**
|
8 | * Resolve many bin paths
|
9 | */
|
10 | export declare const getBinLookups: (paths: string[], cwd: string) => any;
|
11 | /**
|
12 | * Resolve a single path. Allow for errors such as
|
13 | * not found or not a directory
|
14 | */
|
15 | export declare const getBinLookup: (path: string, cwd: string) => any;
|
16 | /**
|
17 | * Resolve many bin directories, but if any produce an
|
18 | * error, return a Left() indicating that
|
19 | */
|
20 | export declare const getBins: (dir: string[], cwd: string) => any;
|
21 | /**
|
22 | * Scan a directory to retrieve an array of executables
|
23 | */
|
24 | export declare const getExecutables: (dirs: any) => any;
|