securityos/node_modules/next/dist/lib/recursive-delete.d.ts

11 lines
321 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
/**
* Recursively delete directory contents
*/
export declare function recursiveDelete(
/** Directory to delete the contents of */
dir: string,
/** Exclude based on relative file path */
exclude?: RegExp,
/** Ensures that parameter dir exists, this is not passed recursively */
previousPath?: string): Promise<void>;