pub fn read_dir<P: AsRef<Path>>(
    ctx: &Context,
    path: P
) -> GameResult<Box<dyn Iterator<Item = PathBuf>>>
👎Deprecated since 0.8.0: Use ctx.fs.read_dir instead
Expand description

Returns a list of all files and directories in the resource directory, in no particular order.

Lists the base directory if an empty path is given.