Module mmrbi::fs[][src]

Similar to std::fs::*

Structs

DirNameType

A directory OsString + FileType

DirPathType

A directory PathBuf + FileType

Functions

collect_dir

Collect directories (like std::fs::read_dir, but only one io::Result to untangle, and allocates)

write_if_modified_with

Write the output of io(&mut output)? to path if it differed from what already existed there (if anything.)