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

@ -83,11 +83,11 @@ impl Entry {
Some(format!("{indent}{icon} {name}").into())
}
fn icon (&self) -> &'static str {
if self.is_dir() {
if self.is_directory() {
Self::ICON_DIRECTORY
} else if self.is_img() {
} else if self.is_image() {
Self::ICON_IMAGE
} else if self.is_mus() {
} else if self.is_music() {
Self::ICON_MUSIC
} else {
Self::ICON_UNKNOWN