pub fn pathspec_contributes_match(spec: &str, path: &str) -> bool
True when spec matches path for pathspec bookkeeping (positive match or exclude hit).
spec
path