Localhost implementation

This commit is contained in:
ChristianVisintin
2020-11-08 21:39:01 +01:00
parent aa963b5000
commit 2d9ddd3c10
4 changed files with 298 additions and 10 deletions

View File

@@ -42,7 +42,7 @@ pub enum FsEntry {
#[derive(Clone)]
pub struct FsDirectory {
pub name: PathBuf,
pub name: String,
pub last_change_time: SystemTime,
pub last_access_time: SystemTime,
pub creation_time: SystemTime,
@@ -59,7 +59,7 @@ pub struct FsDirectory {
#[derive(Clone)]
pub struct FsFile {
pub name: PathBuf,
pub name: String,
pub last_change_time: SystemTime,
pub last_access_time: SystemTime,
pub creation_time: SystemTime,