Module rood::sys::file[][src]

File-related utilities.

Most utilities defined in this module are higher-level abstractions over std::fs, but common operations nonetheless.

Functions

ensure_exists

Checks for existence of the provided path, returning an error in case it doesn't exist.

is_executable
make_executable

Mark the specified file as executable.

replace_all

Replace all instances of a pattern in file.