Macro fs_more::use_enabled_fs_module
source ยท macro_rules! use_enabled_fs_module {
() => { ... };
}Expand description
Imports (uses) fs. This is only for internal use!
If the user enables the fs-err feature,
this will import fs_err as fs.
If not, this will simply import the usual std::fs.
Expands to
#[cfg(not(feature = "fs-err"))]
use std::fs;
#[cfg(feature = "fs-err")]
use fs_err as fs;