aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/rar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/rar.rs')
-rw-r--r--crates/shirabe-php-shim/src/rar.rs28
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!()
+ }
+}