aboutsummaryrefslogtreecommitdiff
path: root/server/src/library.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-01-22 13:56:06 +0100
committermetamuffin <metamuffin@disroot.org>2023-01-22 13:56:06 +0100
commitec76bbe5398f51ffa55bfd315b30c0a07245d4e6 (patch)
treefa0e1723f861de6fee21a35524bb7768fab0b6ce /server/src/library.rs
parent84e093afa908dc68a7b0ae97ba8dc76aa0901d26 (diff)
downloadjellything-ec76bbe5398f51ffa55bfd315b30c0a07245d4e6.tar
jellything-ec76bbe5398f51ffa55bfd315b30c0a07245d4e6.tar.bz2
jellything-ec76bbe5398f51ffa55bfd315b30c0a07245d4e6.tar.zst
this is *horrible*
Diffstat (limited to 'server/src/library.rs')
-rw-r--r--server/src/library.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/library.rs b/server/src/library.rs
index ebafa9d..578edfc 100644
--- a/server/src/library.rs
+++ b/server/src/library.rs
@@ -156,11 +156,13 @@ impl Node {
}
}
}
+
impl Item {
pub fn path(&self) -> String {
self.lib_path.to_str().unwrap().to_string()
}
}
+
impl Directory {
pub fn path(&self) -> String {
self.lib_path.to_str().unwrap().to_string()