Skip to main content

collect

Function collect 

Source
pub fn collect(
    updates: &[RefUpdate],
    remote: &str,
    git: &'_ dyn Fn(&[&str]) -> Result<String, String>,
) -> Result<Vec<Part>, String>
Expand description

The material of each ref update. The commands are the ones gh-agent’s own pre-push hook runs, so both judge the same text.