file_system/fundamentals/path/mod.rs
1/// Path module of the File_system library.
2///
3/// This module contains the different types that represent paths.
4///
5/// A path is a string that represents the location of a file or directory in a file system.
6/// It is composed of components separated by a separator character.
7/// A file path should start with a [Separator] and not end with a [Separator].
8mod components;
9mod path_owned;
10mod path_reference;
11
12pub use components::*;
13pub use path_owned::*;
14pub use path_reference::*;
15
16/// Separator character used in paths.
17pub const SEPARATOR: char = '/';
18
19/// Extension separator character used in paths.
20pub const EXTENSION_SEPARATOR: char = '.';