9 matches across 1 files for error lang:
snippet_mode: auto · sorted by relevance
processor/report.go GO 9 matches · showing 5 view file →
274// scc's analysis modes (ULOC, line-length, per-file table) are gated by
275// process-wide globals. The report mode flips them on inside a single
276// invocation; we snapshot and restore via defer so panics, errors, or
277// in-process re-entrancy don't leak state into a later scc call.
278type reportFlagState struct {
· · ·
308// snapshotted and restored via defer, but callers should not assume the
309// flags retain their on-entry values during the call.
310func CollectReportData(path string) (ReportData, error) {
311 start := time.Now()
312
· · ·
475// rollup and a flat per-file slice. Reuses aggregateLanguageSummary by
476// feeding it the same FileJobs through a buffered channel.
477func walkAndAggregate(path string) ([]*FileJob, []LanguageSummary, Totals, error) {
478 if path == "" {
479 path = "."
· · ·
483 info, err := os.Stat(fpath)
484 if err != nil {
485 return nil, nil, Totals{}, fmt.Errorf("file or directory could not be read: %s", fpath)
486 }
487
· · ·
502 if len(dirPaths) > 0 {
503 fileWalker := gocodewalker.NewParallelFileWalker(dirPaths, potentialFilesQueue)
504 fileWalker.SetErrorHandler(func(e error) bool {
505 printError(e.Error())
506 return true
+ 4 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.