Skip to main content

scan_within

Function scan_within 

Source
pub async fn scan_within(
    cwd: &Path,
    target: &str,
    budget: Duration,
) -> ScanOutcome
Expand description

scan with its command budget spelled: the shell gives each child this reader spawns the 10 s COMMAND_TIMEOUT, and a test gives them one of its own. The budget is a bound on the machine, not on the read: it is spent starting each child, so a loaded machine can hold a child’s first output past the shell’s 10 s and blank a file’s hunk section.