apply_modifications

Function apply_modifications 

Source
pub async fn apply_modifications<'a, VCS, S>(
    configured_files: &'a IndexMap<PathBuf, Vec<FileChange>>,
    current_version: &Version,
    new_version: &Version,
    ctx_with_new_version: &HashMap<String, String, S>,
    dry_run: bool,
) -> Result<Vec<(&'a PathBuf, Option<Modification>)>, BumpError<VCS>>
Expand description

Apply configured version modifications to all configured files.

Returns a list of file paths paired with their modifications (or None if no changes were made).