go-gitignore A go library to parse .gitignore patterns and match pattern lists against a path. The code aims to be a close translation of the original implementation in the git codebase starting at is_excluded_from_list and add_excludes Prior Art https://github.com/zabawaba99/go-gitignore https://github.com/helm/helm/tree/v2.14.1/pkg/ignore