MCPcopy
hub / github.com/go-task/task / ShouldIgnore

Function ShouldIgnore

watch.go:195–202  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

193}
194
195func ShouldIgnore(path string) bool {
196 for _, p := range ignorePaths {
197 if strings.Contains(path, fmt.Sprintf("%s/", p)) || strings.HasSuffix(path, p) {
198 return true
199 }
200 }
201 return false
202}
203
204func (e *Executor) collectSources(calls []*Call) ([]string, error) {
205 var sources []string

Callers 2

watchTasksMethod · 0.85
registerWatchedDirsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…