pub fn patch_gitignore(project_dir: &Path, entry: &str)Expand description
Append entry to .gitignore if not already present.
Creates the file if it doesn’t exist. Silently ignores write errors (non-fatal — gitignore is a convenience, not a requirement).