From af7a0f5022dfd0e04c821f0d4fc8314b3578417c Mon Sep 17 00:00:00 2001 From: cel 🌸 Date: Thu, 10 Apr 2025 01:47:46 +0100 Subject: feat(filamento): add `root()` method to `Files` --- filamento/src/files.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filamento') 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 { -- cgit