[][src]Function ggez::filesystem::open_options

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

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.