14 matches across 1 files for error lang:Go path:processor/processor.go lang:Go path:processor/processor.go lang:Go
snippet_mode: grep · sorted by relevance
processor/processor.go GO 14 matches · showing 5 view file →
378// Timeline selects an over-time view. With ByAuthor, runs the author
379// timeline report (plan 04); alone, runs the languages-over-time report
380// (plan 05). With Hotspots set, the combination errors out.
381var Timeline = false
382
· · ·
528 t := strings.Split(s, ":")
529 if len(t) != 2 {
530 printError(fmt.Sprintf("ignoring malformed count-as rule %q: expected format <from>:<to>", s))
531 continue
532 }
· · ·
548 // extension, so no mapping was registered. Warn rather than silently
549 // ignoring the rule, since count-as cannot mint new categories yet.
550 printError(fmt.Sprintf("ignoring count-as rule %q: target %q is not a known language or extension", s, t[1]))
551 }
552}
· · ·
586// Because regex patterns and paths legitimately contain ':', name and baselang
587// are peeled from the right and the pattern is whatever remains in between.
588func parseCountAsPattern(s string) (CountRule, error) {
589 engine := MatchGlob
590 rest := s
· · ·
602 lastColon := strings.LastIndex(rest, ":")
603 if lastColon == -1 {
604 return CountRule{}, fmt.Errorf("expected format [engine:]pattern:name:baselang")
605 }
606 baseLanguage := rest[lastColon+1:]
+ 9 more matches in this file
Search syntax
auth loginboth terms (AND is implicit)
auth OR logineither term
NOT path:vendorexclude matches
"exact phrase"quoted exact match
/func\s+Test/regex
handler~1fuzzy (Levenshtein 1)
file:*_test.gofilename glob
path:pkg/auth/**full path glob
lang:golanguage filter

Search any public repo from your terminal

This page calls POST /api/v1/code_search. Same tool, available over MCP for Claude/Cursor/Copilot.