Skip to main content

open_files_under

Function open_files_under 

Source
pub fn open_files_under(dir: &Path) -> Vec<PathBuf>
Expand description

Every file under dir this process has open, once per open descriptor or handle. Directories are not files: a handle on one, the kind resolving a path takes for a moment on Windows, holds no file open. Panics if the directory cannot be resolved or enumeration fails. Descriptors closed while being inspected may disappear from the result.