[][src]Function cap_primitives::fs::read_dir

pub fn read_dir(start: &File, path: &Path) -> Result<ReadDir>

Construct a ReadDir to iterate over the contents of a directory, ensuring that the resolution of the path never escapes the directory tree rooted at start.