#![allow(dead_code)]
mod path;
pub use path::*;
#[cfg(feature = "filesystem")]
#[cfg(feature = "archive-module")]
pub mod archive;
#[cfg(feature = "location")]
pub mod location;
#[cfg(feature = "filesystem")]
pub mod file;
#[cfg(feature = "filesystem")]
pub mod directory;
#[cfg(feature = "filesystem")]
pub mod fs_action;
#[cfg(feature = "safe_filename_string")]
#[inline(always)]
pub fn filename_safe_string<S: AsRef<str>>(string: S) -> String {
filenamify::filenamify(string)
}
#[test]
fn test() {
if std::env::consts::OS == "windows" {
assert!(Path::SPLIT_CHAR == '\\');
assert!(Path::NOT_SPLIT_CHAR == '/');
}
else {
assert!(Path::SPLIT_CHAR == '/');
assert!(Path::NOT_SPLIT_CHAR == '\\');
}
}