Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Confidence = ""
View Source
var Database = []License{}
Caching the database load result reduces processing time by about 3x for this repository
View Source
var DeepGuess = ""
View Source
var DirFilePaths = []string{}
View Source
var DocumentName = ""
View Source
var DocumentNamespace = ""
View Source
var ExtentionBlacklist = ""
View Source
var FileOutput = ""
View Source
var Format = ""
View Source
var MaxSize = ""
View Source
var PackageName = ""
View Source
var PathBlacklist = ""
View Source
var PossibleLicenceFiles = ""
View Source
var ToolName = "licensechecker"
Shared all over the place
View Source
var ToolVersion = "1.2.2"
Functions ¶
Types ¶
type FileResult ¶
type FileResult struct {
Directory string
Filename string
LicenseGuesses []LicenseMatch
LicenseRoots []LicenseMatch
LicenseIdentified []LicenseMatch
Md5Hash string
Sha1Hash string
Sha256Hash string
BytesHuman string
Bytes int
}
type License ¶
type License struct {
Keywords []string `json:"keywords"`
LicenseText string `json:"licenseText"`
Name string `json:"name"`
LicenseId string `json:"licenseId"`
Concordance vectorspace.Concordance
}
type LicenseMatch ¶
Click to show internal directories.
Click to hide internal directories.