Update fs.rs
This commit is contained in:
@@ -384,8 +384,9 @@ pub fn unlink(p: &Path) -> io::Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn rename(_old: &Path, _new: &Path) -> io::Result<()> {
|
pub fn rename(_old: &Path, _new: &Path) -> io::Result<()> {
|
||||||
::sys_common::util::dumb_print(format_args!("Rename\n"));
|
copy(old, new)?;
|
||||||
unimplemented!();
|
unlink(old)?;
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn set_perm(p: &Path, perm: FilePermissions) -> io::Result<()> {
|
pub fn set_perm(p: &Path, perm: FilePermissions) -> io::Result<()> {
|
||||||
|
|||||||
Reference in New Issue
Block a user