pub fn rewrite_file(
files: &dyn Files,
name: &str,
with: &dyn Rewrite,
) -> Result<bool>Expand description
The file name of files through Rewrite::file, written back
whole (Files::write_file, atomic) when it changed: whether it did.
A file that is not there is left. How a host or a plugin maps a file it
keeps from the session outside the session’s store, such as a history
of prompts.
§Errors
When the file cannot be read or written.