Skip to main content

fetch_section

Function fetch_section 

Source
async fn fetch_section(
    cwd: &Path,
    ref_spec: &str,
    path: &str,
    budget: Duration,
) -> Option<String>
Expand description

One file’s diff section, None when git would not answer it (a crash or a read past the subprocess cap). A binary body and an empty one both answer Some.