[−][src]Function wasi::path_remove_directory
pub unsafe fn path_remove_directory(fd: Fd, path: &str) -> Result<()>
Remove a directory.
Return ENOTEMPTY
if the directory is not empty.
Note: This is similar to unlinkat(fd, path, AT_REMOVEDIR)
in POSIX.
Parameters
path
- The path to a directory to remove.