pub fn plan(current: Option<&str>) -> Option<String>Expand description
Plan the gitignore content for a project root.
Given the current file content (or None if the file does not yet exist),
returns Some(new_content) when a write is required, or None when the
file already matches the desired state.