MCPcopy Create free account
hub / github.com/driusan/dgit / StandardIgnorePatterns

Function StandardIgnorePatterns

git/ignore.go:69–142  ·  view source on GitHub ↗

Returns the standard ignores (.gitignore files and various global sources) that should be used to determine whether the provided files are ignored. These patterns can be used with these files with ApplyIgnore() to find whether each file is ignored or not.

(c *Client, paths []File)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CheckIgnoreFunction · 0.92

Calls 5

ParseIgnorePatternsFunction · 0.85
FileTypeAlias · 0.85
HasPrefixMethod · 0.80
StringMethod · 0.65
GetConfigMethod · 0.45

Tested by

no test coverage detected