Function ggez::filesystem::open_options

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

Opens a file in the user directory with the given filesystem::OpenOptions. Note that even if you open a file read-only, it can only access files in the user directory.