diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-14 19:53:15 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-14 19:53:15 +0900 |
| commit | 5350d7f77f3e3c270cfefd5c90f8805def09dc0c (patch) | |
| tree | 87063fd40716889a1052634b9105f63e45390323 /crates/shirabe-php-shim | |
| parent | d5c9d8d6abe901e9b7258fd74fdc9dcc29d9dcab (diff) | |
| download | php-shirabe-5350d7f77f3e3c270cfefd5c90f8805def09dc0c.tar.gz php-shirabe-5350d7f77f3e3c270cfefd5c90f8805def09dc0c.tar.zst php-shirabe-5350d7f77f3e3c270cfefd5c90f8805def09dc0c.zip | |
feat(port): port RarDownloader.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 30 |
1 files changed, 30 insertions, 0 deletions
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<Self> { + todo!() + } + + pub fn get_entries(&self) -> Option<Vec<RarEntry>> { + todo!() + } + + pub fn close(&self) { + todo!() + } +} |
