common

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxQueryCharsMCP     = 250
	MaxQueryTermsMCP     = 12
	MaxQueryCharsDefault = 1000
	MaxQueryTermsDefault = 50
)

Query complexity limits — stricter for MCP, relaxed for interactive modes.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileJob

type FileJob struct {
	Filename           string
	Extension          string
	Location           string
	Content            []byte
	ContentByteType    []byte // Per-byte classification from scc (code/comment/string/blank)
	Bytes              int
	Binary             bool
	Score              float64
	MatchLocations     map[string][][]int
	Minified           bool
	Language           string
	Lines              int64
	Code               int64
	Comment            int64
	Blank              int64
	Complexity         int64
	MatchHash          string
	DuplicateCount     int
	DuplicateLocations []string
}

FileJob is a struct used to hold the results of processing internally before sent to the formatter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL