func hasTextExtension()

in pkg/preprocess/file.go [53:61]


func hasTextExtension(path string) bool {
	ext := strings.ToLower(filepath.Ext(path))
	for _, v := range textExtensions {
		if ext == v {
			return true
		}
	}
	return false
}