fn.read_dir

Function tauri_api::​dir::​read_dir

pub fn read_dir<P: AsRef<Path>>(
    path: P, 
    recursive: bool
) -> Result<Vec<DiskEntry>>

Reads a directory. Can perform recursive operations.