Skip to content

Directory.delete[Sync]() fails if the directory is non-empty #1757

@munificent

Description

@munificent

Sometimes I want to delete directories that aren't empty. I don't want to have to recursively walk the contents (asynchronously!) myself to do that. Suggestion:

new Directory('path...').deleteSync(recursive: true);

Metadata

Metadata

Assignees

Labels

area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.library-io

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions