common

package
v3.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

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