pub(super) fn write_config_file(
wd: &Workdir,
base_path: &Path,
expanded_dir: &str,
file: &AgentConfigFile,
on_host: bool,
) -> Result<(), String>Expand description
Write one rendered config file into the working directory, the way its kind is written (ownership-aware, exists-guarded, merged, or plainly); a path the workdir refuses is skipped with a warning.