Initial commit
This commit is contained in:
commit
b3a51a4115
10336 changed files with 2381973 additions and 0 deletions
23
node_modules/empathic/walk.d.ts
generated
vendored
Normal file
23
node_modules/empathic/walk.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
export type Options = {
|
||||
/**
|
||||
* The CWD for the operation.
|
||||
* @default "." (process.cwd)
|
||||
*/
|
||||
cwd?: string;
|
||||
/**
|
||||
* The last directory to traverse.
|
||||
*
|
||||
* > [NOTE]
|
||||
* > This directory is INCLUSIVE.
|
||||
*
|
||||
* @default "/"
|
||||
*/
|
||||
last?: string;
|
||||
};
|
||||
/**
|
||||
* Get all parent directories of {@link base}.
|
||||
* Stops after {@link Options['last']} is processed.
|
||||
*
|
||||
* @returns An array of absolute paths of all parent directories.
|
||||
*/
|
||||
export declare function up(base: string, options?: Options): string[];
|
||||
Loading…
Add table
Add a link
Reference in a new issue