Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scanner ¶
Scanner is struct to scan license info Crawler is exported to modify or make it easy to test by mock
func (*Scanner) ScanLicense ¶
ScanLicense returns result of Scan on github.com blob objects fetches LICENSE, README,md, or COPYING of master/main branch, and returns license if confidence is over 90% detection logic is depends on github.com/google/licenseclassifier
Click to show internal directories.
Click to hide internal directories.