[][src]Function ggez::filesystem::create

pub fn create<P: AsRef<Path>>(ctx: &mut Context, path: P) -> GameResult<File>

Creates a new file in the user directory and opens it to be written to, truncating it if it already exists.