Skip to main content

update

Function update 

Source
pub fn update(
    config_path: &Path,
    name_filter: Option<&str>,
    client: &GitHubClient,
) -> Result<UpdateOutcome, String>
Expand description

Orchestration entry point. Reads config_path, fetches the latest version of each GitHub plugin (filtered by name_filter if set), rewrites matching [[plugin]].version fields in a single DocumentMut, and writes the result back exactly once if anything changed.