Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLicenseFromDetector ¶
func GetPomCommentLicense ¶
read licenses which presented as a comment in the pom file
func InitLicenseMatcher ¶
read licenses db and instantiate the classifier
func MatchLicenseTxt ¶
try to match license txt to known spdx license 1st try to match to license classifier and then to license detector
Types ¶
type DiscoveryFiler ¶
type DiscoveryFiler struct {
LicenseContent string
}
func (DiscoveryFiler) Close ¶
func (df DiscoveryFiler) Close()
func (DiscoveryFiler) PathsAreAlwaysSlash ¶
func (df DiscoveryFiler) PathsAreAlwaysSlash() bool
Click to show internal directories.
Click to hide internal directories.