[−][src]Function bdrck::fs::create_file
pub fn create_file<P: AsRef<Path>>(path: P) -> Result<()>
This is a simple utility to create a new empty file. If a file at the given path already exists, it will be truncated. It's an error if the path already exists but is, for example, a directory.