The OpenD Programming Language

rmdir

Remove directory pathname.

Parameters

pathname R

Range or string specifying the directory name

Throws

FileException on error.

Examples

auto dir = deleteme ~ "dir";

dir.mkdir;
assert(dir.exists);
dir.rmdir;
assert(!dir.exists);

Meta