aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src')
-rw-r--r--crates/shirabe-php-shim/src/fs.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/crates/shirabe-php-shim/src/fs.rs b/crates/shirabe-php-shim/src/fs.rs
index 2142b0e7..c2b0dc41 100644
--- a/crates/shirabe-php-shim/src/fs.rs
+++ b/crates/shirabe-php-shim/src/fs.rs
@@ -190,11 +190,6 @@ impl RecursiveIteratorFileInfo {
self.path.to_string_lossy().into_owned()
}
- // SplFileInfo::getLinkTarget(): readlink() on the entry. None is PHP's false-on-failure.
- pub fn get_link_target(&self) -> Option<String> {
- readlink(&self.path)
- }
-
pub fn get_size(&self) -> i64 {
std::fs::metadata(&self.path)
.map(|m| m.len() as i64)