Skip to main content

start

Function start 

Source
pub fn start(
    settings: &Settings,
    root: &Path,
    gates: &[TreeGate],
    pins: &[ToolPin],
    cover_ms: u64,
) -> Option<SideCar>
Expand description

Start one thread per gate against the working tree, which the staged-only hold has made the commit’s tree. EVERYTHING a gate needs to decide runs in its own thread, so none of it delays the commit’s checks: the version probe (bounded and cancellable — a wrapper may reach the network), the skew check, the namespace, the warm and fit tests, the lock, the run. cover_ms is how long this commit’s own declared checks are expected to run. Returns None when nothing starts.