Function ggez::filesystem::create

source ·
pub fn create<P: AsRef<Path>>(ctx: &Context, path: P) -> GameResult<File>
👎Deprecated since 0.8.0: Use ctx.fs.create instead
Expand description

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