Sort file entries by name

This commit is contained in:
ChristianVisintin
2020-11-30 16:07:13 +01:00
parent 2e1e548dbc
commit 5306d6d027
2 changed files with 21 additions and 2 deletions

View File

@@ -128,6 +128,7 @@ impl Localhost {
/// ### list_dir
///
/// List files in current directory
#[allow(dead_code)]
pub fn list_dir(&self) -> Vec<FsEntry> {
self.files.clone()
}