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
Click to show internal directories.
Click to hide internal directories.