Module ggez::filesystem [] [src]

Provides an interface to the user's filesystem.

This module provides access to files in specific places:

Files will be looked for in these locations in order, and the first one found used. That allows game assets to be easily distributed as an archive file, but locally overridden for testing or modding simply by putting altered copies of them in the game's resources/ directory.

The resources/ subdirectory and files are read-only. Files that are opened for writing using Filesystem::open_options() will be created in the user directory.



A structure that contains the filesystem state and cache.



Represents a file, either in the filesystem, or in the resources zip file, or whatever.