Files
kjol/tools/tsgo/internal/tspath/ignoredpaths.go
2026-07-09 16:50:43 -04:00

19 lines
265 B
Go

package tspath
import "strings"
var ignoredPaths = []string{
"/node_modules/.",
"/.git",
".#",
}
func ContainsIgnoredPath(path string) bool {
for _, pattern := range ignoredPaths {
if strings.Contains(path, pattern) {
return true
}
}
return false
}