Skip to content

Use KIO::rmdir for unlinking directories

Fabian Vogt requested to merge work/fvogt/rmdir into master

Unlike KIO::del, this fails if the directory is not empty.

BUG: 482902

It's explicitly documented that with KIO::rmdir

The job will fail if the directory is not empty.

So let's assume that all protocols handle this properly. If not, we'd need to wrap KIOFuseVFS::rmdir in awaitChildrenComplete.

Merge request reports