Directory.remove

Deletes the target file or an empty directory. The argument can be relative to the current directory, or an absolute path. If the target directory is not empty, the operation will fail. Returns one of the error code constants (OK on success).

struct Directory
@nogc nothrow
GodotError
remove
(
in String path
)

Meta