(dir: string, should_remove?: ((name: string) => boolean) | undefined, options?: RmOptions | undefined): Promise<void> Empties a directory, recursively by default. If should_remove is provided, only entries where it returns true are removed.
dir
type
stringshould_remove?
type
((name: string) => boolean) | undefinedoptional
options?
type
RmOptions | undefinedoptional
returns
Promise<void>