[][src]Function mdbook::utils::fs::create_file

pub fn create_file(path: &Path) -> Result<File>

This function creates a file and returns it. But before creating the file it checks every directory in the path to see if it exists, and if it does not it will be created.