[][src]Function ggez::filesystem::read_dir

pub fn read_dir<P: AsRef<Path>>(
    ctx: &mut Context,
    path: P
) -> GameResult<Box<dyn Iterator<Item = PathBuf>>>

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.