Function ggez::filesystem::read_dir
source · [−]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
insteadExpand 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.