From 59a1e5cdf0b732b7aa86504b78dfd9a54c2f6dc1 Mon Sep 17 00:00:00 2001 From: Alix ANNERAUD Date: Tue, 2 Jul 2024 23:28:04 -0400 Subject: [PATCH] Move pipe to its folder --- .../src/Generics/{Virtual_files => Pipe}/Manager.rs | 0 .../src/Generics/{Virtual_files => Pipe}/Pipe.rs | 0 .../File_system/src/Generics/{Virtual_files => Pipe}/mod.rs | 0 Modules/File_system/src/Generics/Virtual_file_system.rs | 6 +++--- 4 files changed, 3 insertions(+), 3 deletions(-) rename Modules/File_system/src/Generics/{Virtual_files => Pipe}/Manager.rs (100%) rename Modules/File_system/src/Generics/{Virtual_files => Pipe}/Pipe.rs (100%) rename Modules/File_system/src/Generics/{Virtual_files => Pipe}/mod.rs (100%) diff --git a/Modules/File_system/src/Generics/Virtual_files/Manager.rs b/Modules/File_system/src/Generics/Pipe/Manager.rs similarity index 100% rename from Modules/File_system/src/Generics/Virtual_files/Manager.rs rename to Modules/File_system/src/Generics/Pipe/Manager.rs diff --git a/Modules/File_system/src/Generics/Virtual_files/Pipe.rs b/Modules/File_system/src/Generics/Pipe/Pipe.rs similarity index 100% rename from Modules/File_system/src/Generics/Virtual_files/Pipe.rs rename to Modules/File_system/src/Generics/Pipe/Pipe.rs diff --git a/Modules/File_system/src/Generics/Virtual_files/mod.rs b/Modules/File_system/src/Generics/Pipe/mod.rs similarity index 100% rename from Modules/File_system/src/Generics/Virtual_files/mod.rs rename to Modules/File_system/src/Generics/Pipe/mod.rs diff --git a/Modules/File_system/src/Generics/Virtual_file_system.rs b/Modules/File_system/src/Generics/Virtual_file_system.rs index 027cff8..d7a9274 100644 --- a/Modules/File_system/src/Generics/Virtual_file_system.rs +++ b/Modules/File_system/src/Generics/Virtual_file_system.rs @@ -9,7 +9,7 @@ use Users::{Group_identifier_type, Manager_type, User_identifier_type}; use super::{ Error_type, File_system_identifier_type, File_system_traits, Flags_type, Mode_type, Path_owned_type, Path_type, Permissions_type, - Pipe::{Named_pipe_identifier_type, Pipes_file_system_type}, + Pipe::{self, Named_pipe_identifier_type}, Position_type, Result, Size_type, Status_type, Type_type, Unique_file_identifier_type, }; @@ -27,7 +27,7 @@ pub struct Virtual_file_system_type { /// Mounted file systems. File_systems: Arc>>, /// Pipe file system - Pipes_file_system: Arc>, + Pipes_file_system: Arc>, } impl Virtual_file_system_type { @@ -41,7 +41,7 @@ impl Virtual_file_system_type { Task_manager, User_manager, File_systems: Arc::new(RwLock::new(HashMap::new())), - Pipes_file_system: Arc::new(RwLock::new(Pipes_file_system_type::New())), + Pipes_file_system: Arc::new(RwLock::new(Pipe::Manager_type::New())), } }