pub fn symlink_path<P: AsRef<Path>, U: AsRef<Path>>(
old_path: P,
new_path: U
) -> Result<()>🔬This is a nightly-only experimental API. (
wasi_ext #71213)Available on WASI only.
Expand description
创建一个符号链接。
这是一种便捷的 API,类似于 std::os::unix::fs::symlink,std::os::windows::fs::symlink_file 和 std::os::windows::fs::symlink_dir。