pub fn write_file( path: String, content: String, ) -> Result<String, Box<dyn Error + Send + Sync>>
Write content to a file at the given path. Creates the file if it doesn’t exist, overwrites if it does.