pub fn collect_matching_files(
root: &Path,
suffix: &str,
) -> Result<Vec<PathBuf>, &'static str>Expand description
Collects regular files below a bounded root that match a suffix.
§Parameters
root: Input consumed bycrate::runtime::runtime_stack::collect_matching_files.suffix: Input consumed bycrate::runtime::runtime_stack::collect_matching_files.
§Returns
Returns the successful value produced by crate::runtime::runtime_stack::collect_matching_files or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::runtime_stack::collect_matching_files cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::runtime_stack::collect_matching_files.
§Examples
ⓘ
let _result = pharos_native::runtime::runtime_stack::collect_matching_files(std::path::Path::new("."), todo!());§Related
crate::runtime::runtime_stackfor adjacent helpers that share the same runtime surface.