pub fn ensure_gitignore_entry( repo_path: &Path, entry: &str, comment: Option<&str>, ) -> Result<bool>
Ensures a gitignore entry exists in the repository’s .gitignore file