MCPcopy Index your code
hub / github.com/devspace-sh/devspace / ignoreParser

Struct ignoreParser

helper/server/ignoreparser/ignoreparser.go:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24type ignoreParser struct {
25 ignoreParser gitignore.IgnoreParser
26
27 absoluteNegatePatterns []string
28 requireFullScan bool
29}
30
31func (i *ignoreParser) Matches(relativePath string, isDir bool) bool {
32 relativePath = strings.TrimRight(relativePath, "/")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected