Function ggez::filesystem::mount

source ·
pub fn mount(ctx: &mut Context, path: &Path, readonly: bool)
👎Deprecated since 0.8.0: Use ctx.fs.mount instead
Expand description

Adds the given (absolute) path to the list of directories it will search to look for resources.

You probably shouldn’t use this in the general case, since it is harder than it looks to make it bulletproof across platforms. But it can be very nice for debugging and dev purposes, such as by pushing $CARGO_MANIFEST_DIR/resources to it