Function ggez::filesystem::open_options [−][src]
pub fn open_options<P: AsRef<Path>>(
ctx: &Context,
path: P,
options: OpenOptions
) -> GameResult<File>
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.