diff options
Diffstat (limited to 'crates/shirabe/src/util')
| -rw-r--r-- | crates/shirabe/src/util/platform.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/shirabe/src/util/platform.rs b/crates/shirabe/src/util/platform.rs index 6a0c2d0..08f5007 100644 --- a/crates/shirabe/src/util/platform.rs +++ b/crates/shirabe/src/util/platform.rs @@ -425,9 +425,4 @@ impl Platform { "/dev/null".to_string() } - - /// PHP: rename($from, $to) — wrap the std rename so callers can use Platform::rename. - pub fn rename(from: &str, to: &str) -> bool { - std::fs::rename(from, to).is_ok() - } } |
