File: api.go

package info (click to toggle)
golang-github-go-enry-go-license-detector 4.3.0%2Bgit20221007.a3a1cc6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,068 kB
  • sloc: makefile: 25
file content (9 lines) | stat: -rw-r--r-- 220 bytes parent folder | download
1
2
3
4
5
6
7
8
9
package api

// Match is a detection result of a license with a confidence (0.0 - 1.0)
// and a mapping of files to confidence.
type Match struct {
	Files      map[string]float32
	Confidence float32
	File       string
}