[−][src]Function gazebo::file::create_dirs_and_write
pub fn create_dirs_and_write<P: AsRef<Path>, C: AsRef<[u8]>>(
path: P,
contents: C
) -> Result<()>
A simple api for creating all the directories up to a path for a file, and then writing the contents to that file.