From ee6161c2e64956632a24bfa2697d8f8b5f917cbe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 12 May 2026 03:28:37 +0900 Subject: feat(port): port PharDownloader.php --- crates/shirabe-php-shim/src/lib.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'crates/shirabe-php-shim/src') diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 03db936..ff9909d 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -39,6 +39,21 @@ pub fn hash(algo: &str, data: &str) -> String { todo!() } +#[derive(Debug)] +pub struct Phar { + path: String, +} + +impl Phar { + pub fn new(a: String) -> Self { + todo!() + } + + pub fn extract_to(&self, a: &str, b: Option<()>, c: bool) { + todo!() + } +} + #[derive(Debug)] pub struct PharData { path: String, -- cgit v1.3.1