aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/rar.rs
blob: 475f6e1df6c16870415231d01a6ac0e43c905974 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#[derive(Debug)]
pub struct RarEntry;

impl RarEntry {
    pub fn extract(&self, _path: impl AsRef<std::path::Path>) -> bool {
        todo!()
    }
}

#[derive(Debug)]
pub struct RarArchive;

impl RarArchive {
    pub fn open(_file: impl AsRef<std::path::Path>) -> Option<Self> {
        todo!()
    }

    pub fn get_entries(&self) -> Option<Vec<RarEntry>> {
        todo!()
    }

    pub fn close(&self) {
        todo!()
    }
}