diff options
| author | 2025-04-10 01:47:46 +0100 | |
|---|---|---|
| committer | 2025-04-10 01:47:46 +0100 | |
| commit | af7a0f5022dfd0e04c821f0d4fc8314b3578417c (patch) | |
| tree | 931f0e7128eebfa99a6fb2a7d7bebad1c10fa711 /filamento/src | |
| parent | 76ba919e6a39f59beabd4443010a3cd635fad885 (diff) | |
| download | luz-af7a0f5022dfd0e04c821f0d4fc8314b3578417c.tar.gz luz-af7a0f5022dfd0e04c821f0d4fc8314b3578417c.tar.bz2 luz-af7a0f5022dfd0e04c821f0d4fc8314b3578417c.zip | |
feat(filamento): add `root()` method to `Files`
Diffstat (limited to '')
| -rw-r--r-- | filamento/src/files.rs | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/filamento/src/files.rs b/filamento/src/files.rs index cd232f3..3acc871 100644 --- a/filamento/src/files.rs +++ b/filamento/src/files.rs @@ -35,6 +35,10 @@ impl Files {          let root = root.into();          Self { root }      } + +    pub fn root(&self) -> &Path { +        &self.root +    }  }  impl FileStore for Files { | 
