diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 15:49:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 15:49:37 +0900 |
| commit | fcef25f6ef36287a4984ffdaab39df84f5aceeba (patch) | |
| tree | 97ceb2098fbb5642e858929da9578bb41e277ada /crates/shirabe-php-shim/src/rar.rs | |
| parent | f0f5f084c883dc4f5b6e61603e82cd1c2092fd9d (diff) | |
| download | php-shirabe-fcef25f6ef36287a4984ffdaab39df84f5aceeba.tar.gz php-shirabe-fcef25f6ef36287a4984ffdaab39df84f5aceeba.tar.zst php-shirabe-fcef25f6ef36287a4984ffdaab39df84f5aceeba.zip | |
refactor(php-shim): split lib.rs
Diffstat (limited to 'crates/shirabe-php-shim/src/rar.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/rar.rs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/rar.rs b/crates/shirabe-php-shim/src/rar.rs new file mode 100644 index 0000000..8efce90 --- /dev/null +++ b/crates/shirabe-php-shim/src/rar.rs @@ -0,0 +1,28 @@ +use crate::PhpMixed; +use indexmap::IndexMap; + +#[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!() + } +} |
