Skip to main content

update_gitignore_block

Function update_gitignore_block 

Source
pub fn update_gitignore_block(
    root: &Path,
    entries: &[(&str, &str)],
) -> Result<(), JoyError>
Expand description

Update the joy-managed block in .gitignore with the given entries. Each entry is (path, comment). Replaces the block if it exists, appends otherwise.