Skip to main content

update_apply

Function update_apply 

Source
pub fn update_apply(dir: &Path) -> Result<String, String>
Expand description

Fast-forward a git-installed plugin to the fetched upstream. Refuses when a fast-forward is impossible — never resets. Nothing is changed on refusal; if upstream rewrote history, removing and re-adding the plugin is the user’s explicit way to take the rewritten version (decision D3).