just ignore nofollow on links for now
This commit is contained in:
@@ -407,15 +407,7 @@ impl WasiDir for cap_std::fs::Dir {
|
|||||||
.ok_or(Error::NotCapable)?;
|
.ok_or(Error::NotCapable)?;
|
||||||
let src_path = Path::new(src_path);
|
let src_path = Path::new(src_path);
|
||||||
let target_path = Path::new(target_path);
|
let target_path = Path::new(target_path);
|
||||||
if symlink_follow {
|
self.hard_link(src_path, target_dir, target_path)?;
|
||||||
self.hard_link(src_path, target_dir, target_path)?;
|
|
||||||
} else {
|
|
||||||
todo!()
|
|
||||||
/*
|
|
||||||
use cap_fs_ext::DirExt;
|
|
||||||
self.hard_link_nofollow(src_path, target_dir, target_path)?;
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
fn set_times(
|
fn set_times(
|
||||||
|
|||||||
Reference in New Issue
Block a user