aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
-rw-r--r--crates/shirabe-php-shim/src/lib.rs15
1 files changed, 15 insertions, 0 deletions
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
@@ -40,6 +40,21 @@ pub fn hash(algo: &str, data: &str) -> String {
}
#[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,
}