pub fn write_yaml<S: Serialize>( path: impl AsRef<Path>, content: &S, ) -> Result<()>
fs
yaml
Serialize data as YAML and write it to a file.