Skip to main content

apply

Function apply 

Source
pub fn apply(
    repo: &str,
    todo_path: &Path,
    actions: &[Action],
) -> Result<usize, String>
Expand description

Applies the changes in actions to GitHub and to todo_path, in plan order, stopping at the first failure. Each write-back is saved before the next call, so a stopped sync is resumed by Link rather than duplicated. Returns the number of changes applied.