Skip to main content

scan_dir

Function scan_dir 

Source
pub fn scan_dir(dir: &Path) -> Result<Vec<Workflow>, ScanError>
Expand description

Read *.yml and *.yaml files directly in dir, in path order.

Nested directories are not walked. An unreadable directory or file is an error. Invalid YAML is an error that names the file and the line.