Function std::os::wasi::fs::symlink_path [−][src]
pub fn symlink_path<P: AsRef<Path>, U: AsRef<Path>>(
old_path: P,
new_path: U
) -> Result<()>
This is supported on WASI only.
Expand description
创建一个符号链接。
这是一种便捷的 API,类似于 std::os::unix::fs::symlink,std::os::windows::fs::symlink_file 和 std::os::windows::fs::symlink_dir。