From 5350d7f77f3e3c270cfefd5c90f8805def09dc0c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 14 May 2026 19:53:15 +0900 Subject: feat(port): port RarDownloader.php --- crates/shirabe-php-shim/src/lib.rs | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'crates/shirabe-php-shim/src/lib.rs') diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index c2a20cf..758dd1c 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -219,3 +219,33 @@ impl PharData { todo!() } } + +pub fn class_exists(name: &str) -> bool { + todo!() +} + +#[derive(Debug)] +pub struct RarEntry; + +impl RarEntry { + pub fn extract(&self, path: &str) -> bool { + todo!() + } +} + +#[derive(Debug)] +pub struct RarArchive; + +impl RarArchive { + pub fn open(file: &str) -> Option { + todo!() + } + + pub fn get_entries(&self) -> Option> { + todo!() + } + + pub fn close(&self) { + todo!() + } +} -- cgit v1.3.1