aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-11 19:54:41 +0900
committernsfisis <nsfisis@gmail.com>2026-06-11 19:54:57 +0900
commita40d5170b75a793badc7dbc59e6b1983c37fa7af (patch)
tree35af98d03622753d468b7dea12717c986be96ad7 /crates/shirabe/src/util
parent86ed0a83afaafbaba0b6849ca3cae89961df956f (diff)
downloadphp-shirabe-a40d5170b75a793badc7dbc59e6b1983c37fa7af.tar.gz
php-shirabe-a40d5170b75a793badc7dbc59e6b1983c37fa7af.tar.zst
php-shirabe-a40d5170b75a793badc7dbc59e6b1983c37fa7af.zip
feat(php-shim): implement trivial PHP-compatible stub functions
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util')
-rw-r--r--crates/shirabe/src/util/platform.rs5
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()
- }
}