pub fn read_root(
root: &str,
dir: &Path,
(files, wanted): (&[String], &[String]),
interpreters: Option<&[String]>,
) -> Vec<ParsedFile>Expand description
The schedr.toml files wanted of script root root, whose files (files, paths with
/) are in dir: a parsed file each, its standalone jobs as DAGs, or its problems as its
import error. With interpreters (a local check’s configuration), a job whose interpreter
isn’t one of them gets a warning: a worker without it rejects the job’s tasks.