Skip to main content

update_gitattributes_block

Function update_gitattributes_block 

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

Update the joy-managed block in .gitattributes with the given lines. Replaces the block if it exists, appends otherwise.