non-abbreviated function names

This commit is contained in:
🪞👃🪞 2025-03-24 00:14:13 +02:00
parent f4f38939d5
commit a38d103d7d
3 changed files with 7 additions and 7 deletions

View file

@ -38,13 +38,13 @@ impl Entry {
path: path.into(),
}))
}
pub fn is_dir (&self) -> bool {
pub fn is_directory (&self) -> bool {
matches!(&*self.info.read().unwrap(), Metadata::Directory { .. })
}
pub fn is_mus (&self) -> bool {
pub fn is_music (&self) -> bool {
matches!(&*self.info.read().unwrap(), Metadata::Music { .. })
}
pub fn is_img (&self) -> bool {
pub fn is_image (&self) -> bool {
matches!(&*self.info.read().unwrap(), Metadata::Image { .. })
}
pub fn hash (&self) -> Option<Arc<str>> {