Documentation
¶
Overview ¶
gitignore package provides functions to load global and system gitignore file patterns, it's a portion of https://github.com/go-git/go-git/blob/main/plumbing/format/gitignore/dir.go to include global ignore files ~/.gitignore and ~/.config/git/ignore, remove this until https://github.com/go-git/go-git/issues/1210 is fixed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadGlobalIgnoreFile ¶
LoadGlobalIgnoreFile loads the global gitignore files, ~/.gitignore and ~/.config/git/ignore.
func LoadGlobalPatterns ¶
LoadGlobalPatterns loads the global gitignore patterns.
func LoadSystemPatterns ¶
LoadSystemPatterns loads the system gitignore patterns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.