pub fn write_replacing(file: &Path, text: &str, executable: bool) -> Result<()>Expand description
Replace file with text in one step (a container reading the mount never sees half of it), unless it already
says that. executable sets the mode on Unix hosts; Docker shows a Windows host’s files as executable.