aboutsummaryrefslogtreecommitdiffstats
path: root/filamento
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--filamento/src/files.rs4
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 {