Function update_dir_gitignores

Source
pub fn update_dir_gitignores(
    xvc_root: &AbsolutePath,
    current_gitignore: &IgnoreRules,
    dirs: &[XvcPath],
) -> Result<()>
Expand description

Write file and directory names to .gitignore found in the same dir

If current_ignore already ignores a file, it’s not added separately. If the user chooses to ignore a files manually by general rules, files are not added here.