deno / latest / ~ / deno.removeoptions.html

Deno.RemoveOptions

Options which can be set when using Deno.remove and Deno.removeSync.

interface RemoveOptions {
    
recursive?: boolean;
}

Properties

recursive?: boolean

Defaults to false. If set to true, path will be removed even if it's a non-empty directory.