Function walk_dir

Source
pub fn walk_dir<'life0, 'async_recursion>(
    dir: &'life0 PathBuf,
) -> Pin<Box<dyn Future<Output = Result<Vec<PathBuf>, Error>> + Send + 'async_recursion>>
where 'life0: 'async_recursion,
Expand description

Collect all the kcl (and other relevant) files in a directory, recursively.