pub fn bounded_git_bytes(
directory: &Path,
args: &[&str],
deadline: Instant,
limit: usize,
) -> Option<Vec<u8>>Expand description
Run one read-only git command in directory under a deadline, killing it
(and anything it started) when the deadline passes or its output grows
past the sink’s limit.