Function ggez::filesystem::create
source · [−]pub fn create<P: AsRef<Path>>(ctx: &Context, path: P) -> GameResult<File>
Expand description
Creates a new file in the user directory and opens it to be written to, truncating it if it already exists.