Skip to main content

## write_ignore_file

# Function write_ignore_file

Source

    fn write_ignore_file(
        base_path: &Path,
        list: &IgnoreList,
        vcs: VersionControl,
    ) -> CargoResult<()>

Expand description

Writes the ignore file to the given directory. If the ignore file for the given vcs system already exists, its content is read and duplicate ignore file entries are filtered out.