Function find_python_resources

Source
pub fn find_python_resources<'a>(
    root_path: &Path,
    cache_tag: &str,
    suffixes: &PythonModuleSuffixes,
    emit_files: bool,
    emit_non_files: bool,
) -> Result<PythonResourceIterator<'a>>
Expand description

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.