Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileMatches ¶
func CheckFileMatches(filePath string, gitignoreEntries []GitignoreEntry) bool
func NotIngoredGoFiles ¶
func NotIngoredGoFiles(dirPath string, gitignoreEntries []GitignoreEntry) ([]string, error)
NotIngoredGoFiles returns the list of files that are not ignored
Types ¶
type GitignoreEntry ¶
func ParseGoGitignore ¶
func ParseGoGitignore(filename string) ([]GitignoreEntry, error)
Click to show internal directories.
Click to hide internal directories.