Function wasi::path_rename
source · [−]Expand description
Rename a file or directory.
Note: This is similar to renameat
in POSIX.
Parameters
old_path
- The source path of the file or directory to rename.new_fd
- The working directory at which the resolution of the new path starts.new_path
- The destination path to which to rename the file or directory.