[][src]Function python_packaging::filesystem_scanning::find_python_resources

pub fn find_python_resources<'a>(
    root_path: &Path,
    cache_tag: &str,
    suffixes: &PythonModuleSuffixes
) -> PythonResourceIterator<'a>

Notable traits for PythonResourceIterator<'a>

impl<'a> Iterator for PythonResourceIterator<'a> type Item = Result<PythonResource<'a>>;

Find Python resources in a directory.

Given a root directory path, walk the directory and find all Python resources in it.

A resource is a Python source file, bytecode file, or resource file which can be addressed via the A.B.C naming convention.

Returns an iterator of PythonResource instances.