SYMBOL INDEX (125 symbols across 24 files) FILE: cmd/license-detector/main.go function main (line 17) | func main() { function detect (line 33) | func detect(args []string, format string, writer io.Writer) { FILE: cmd/license-detector/main_test.go function TestCmdMain (line 12) | func TestCmdMain(t *testing.T) { FILE: licensedb/analysis.go function Analyse (line 13) | func Analyse(args ...string) []Result { type Result (line 35) | type Result struct type Match (line 42) | type Match struct function process (line 47) | func process(arg string) ([]Match, error) { FILE: licensedb/api/api.go type Match (line 5) | type Match struct FILE: licensedb/dataset_test.go function TestDataset (line 15) | func TestDataset(t *testing.T) { FILE: licensedb/filer/filer.go type File (line 28) | type File struct type Filer (line 34) | type Filer interface type localFiler (line 46) | type localFiler struct method resolvePath (line 63) | func (filer *localFiler) resolvePath(path string) (string, error) { method ReadFile (line 74) | func (filer *localFiler) ReadFile(path string) ([]byte, error) { method ReadDir (line 86) | func (filer *localFiler) ReadDir(path string) ([]File, error) { method Close (line 105) | func (filer *localFiler) Close() {} method PathsAreAlwaysSlash (line 107) | func (filer *localFiler) PathsAreAlwaysSlash() bool { function FromDirectory (line 51) | func FromDirectory(path string) (Filer, error) { type gitFiler (line 111) | type gitFiler struct method ReadFile (line 147) | func (filer gitFiler) ReadFile(path string) ([]byte, error) { method ReadDir (line 179) | func (filer *gitFiler) ReadDir(path string) ([]File, error) { method Close (line 208) | func (filer *gitFiler) Close() { method PathsAreAlwaysSlash (line 212) | func (filer *gitFiler) PathsAreAlwaysSlash() bool { function FromGitURL (line 116) | func FromGitURL(url string) (Filer, error) { function FromGit (line 125) | func FromGit(repo *git.Repository, headRef plumbing.ReferenceName) (File... function FromSiva (line 218) | func FromSiva(path string) (Filer, error) { type zipNode (line 249) | type zipNode struct type zipFiler (line 254) | type zipFiler struct method ReadFile (line 285) | func (filer *zipFiler) ReadFile(path string) ([]byte, error) { method ReadDir (line 309) | func (filer *zipFiler) ReadDir(path string) ([]File, error) { method Close (line 334) | func (filer *zipFiler) Close() { method PathsAreAlwaysSlash (line 338) | func (filer *zipFiler) PathsAreAlwaysSlash() bool { function FromZIP (line 260) | func FromZIP(path string) (Filer, error) { type nestedFiler (line 342) | type nestedFiler struct method ReadFile (line 352) | func (filer *nestedFiler) ReadFile(path string) ([]byte, error) { method ReadDir (line 362) | func (filer *nestedFiler) ReadDir(path string) ([]File, error) { method Close (line 372) | func (filer *nestedFiler) Close() { method PathsAreAlwaysSlash (line 376) | func (filer *nestedFiler) PathsAreAlwaysSlash() bool { function NestFiler (line 348) | func NestFiler(filer Filer, prefix string) Filer { FILE: licensedb/filer/filer_test.go function testFiler (line 11) | func testFiler(t *testing.T, filer Filer) { function TestLocalFiler (line 47) | func TestLocalFiler(t *testing.T) { function TestGitFiler (line 59) | func TestGitFiler(t *testing.T) { function TestSivaFiler (line 68) | func TestSivaFiler(t *testing.T) { function TestZipFiler (line 78) | func TestZipFiler(t *testing.T) { function TestNestedFiler (line 87) | func TestNestedFiler(t *testing.T) { FILE: licensedb/internal/assets/bindata.go function bindataRead (line 22) | func bindataRead(data []byte, name string) ([]byte, error) { type asset (line 42) | type asset struct type bindataFileInfo (line 47) | type bindataFileInfo struct method Name (line 54) | func (fi bindataFileInfo) Name() string { method Size (line 57) | func (fi bindataFileInfo) Size() int64 { method Mode (line 60) | func (fi bindataFileInfo) Mode() os.FileMode { method ModTime (line 63) | func (fi bindataFileInfo) ModTime() time.Time { method IsDir (line 66) | func (fi bindataFileInfo) IsDir() bool { method Sys (line 69) | func (fi bindataFileInfo) Sys() interface{} { function licensesTarBytes (line 75) | func licensesTarBytes() ([]byte, error) { function licensesTar (line 82) | func licensesTar() (*asset, error) { function urlsCsvBytes (line 95) | func urlsCsvBytes() ([]byte, error) { function urlsCsv (line 102) | func urlsCsv() (*asset, error) { function namesCsvBytes (line 115) | func namesCsvBytes() ([]byte, error) { function namesCsv (line 122) | func namesCsv() (*asset, error) { function Asset (line 136) | func Asset(name string) ([]byte, error) { function MustAsset (line 150) | func MustAsset(name string) []byte { function AssetInfo (line 162) | func AssetInfo(name string) (os.FileInfo, error) { function AssetNames (line 175) | func AssetNames() []string { function AssetDir (line 203) | func AssetDir(name string) ([]string, error) { type bintree (line 225) | type bintree struct function RestoreAsset (line 236) | func RestoreAsset(dir, name string) error { function RestoreAssets (line 261) | func RestoreAssets(dir, name string) error { function _filePath (line 277) | func _filePath(dir, name string) string { FILE: licensedb/internal/assets/extract_names.go function main (line 14) | func main() { FILE: licensedb/internal/assets/extract_urls.go function main (line 15) | func main() { FILE: licensedb/internal/db.go type database (line 35) | type database struct method Length (line 77) | func (db database) Length() int { method VocabularySize (line 82) | func (db database) VocabularySize() int { method QueryLicenseText (line 251) | func (db *database) QueryLicenseText(text string) map[string]float32 { method queryLicenseAbstract (line 264) | func (db *database) queryLicenseAbstract(text string) map[string]float... method addURLMatches (line 308) | func (db *database) addURLMatches(candidates map[string]float32, text ... method queryLicenseAbstractNormalized (line 323) | func (db *database) queryLicenseAbstractNormalized(normalizedModerate ... method scanForURLs (line 410) | func (db *database) scanForURLs(text string) map[string]bool { method QueryReadmeText (line 423) | func (db *database) QueryReadmeText(text string, fs filer.Filer) map[s... type substring (line 66) | type substring struct constant numHashes (line 72) | numHashes = 154 constant similarityThreshold (line 73) | similarityThreshold = 0.75 function loadUrls (line 86) | func loadUrls(db *database) { function loadNames (line 108) | func loadNames(db *database) { function registerNameSubstrings (line 125) | func registerNameSubstrings( function loadLicenses (line 145) | func loadLicenses() *database { function tfidf (line 455) | func tfidf(freq int, docfreq int, ndocs int) float32 { FILE: licensedb/internal/fastlog/fastlog.go function Log2 (line 9) | func Log2(x float32) float32 { function Log (line 17) | func Log(x float32) float32 { FILE: licensedb/internal/fastlog/fastlog_test.go function TestFastlog (line 10) | func TestFastlog(t *testing.T) { FILE: licensedb/internal/investigation.go function investigateCandidates (line 68) | func investigateCandidates(candidates map[string][]byte, f func(text []b... function ExtractLicenseFiles (line 90) | func ExtractLicenseFiles(files []string, fs filer.Filer) map[string][]by... function InvestigateLicenseTexts (line 117) | func InvestigateLicenseTexts(candidates map[string][]byte) map[string]ap... function InvestigateLicenseText (line 123) | func InvestigateLicenseText(text []byte) map[string]float32 { function ExtractReadmeFiles (line 129) | func ExtractReadmeFiles(files []string, fs filer.Filer) map[string][]byte { function InvestigateReadmeTexts (line 147) | func InvestigateReadmeTexts(candidtes map[string][]byte, fs filer.Filer)... function InvestigateReadmeText (line 155) | func InvestigateReadmeText(text []byte, fs filer.Filer) map[string]float... function IsLicenseDirectory (line 160) | func IsLicenseDirectory(fileName string) bool { FILE: licensedb/internal/nlp.go function investigateReadmeFile (line 28) | func investigateReadmeFile( function splitLicenseName (line 116) | func splitLicenseName(name string) []substring { FILE: licensedb/internal/nlp_test.go function TestSplitLicenseName (line 9) | func TestSplitLicenseName(t *testing.T) { FILE: licensedb/internal/normalize/normalize.go type Strictness (line 93) | type Strictness constant Enforced (line 97) | Enforced Strictness = 0 constant Moderate (line 99) | Moderate Strictness = 1 constant Relaxed (line 101) | Relaxed Strictness = 2 function LicenseText (line 107) | func LicenseText(text string, strictness Strictness) string { function Relax (line 172) | func Relax(text string) string { function Split (line 186) | func Split(text string) []string { FILE: licensedb/internal/normalize/normalize_test.go function TestNormalizeLines (line 9) | func TestNormalizeLines(t *testing.T) { FILE: licensedb/internal/processors/html2text.go function parseHTMLEntity (line 19) | func parseHTMLEntity(entName []byte) []byte { function HTML (line 103) | func HTML(htmlSource []byte) []byte { FILE: licensedb/internal/processors/html2text_test.go function TestHTML (line 9) | func TestHTML(t *testing.T) { FILE: licensedb/internal/processors/markup.go function Markdown (line 11) | func Markdown(text []byte) []byte { function RestructuredText (line 19) | func RestructuredText(text []byte) []byte { FILE: licensedb/internal/wmh/wmh.go constant maxUint16 (line 16) | maxUint16 = 65535 type WeightedMinHasher (line 20) | type WeightedMinHasher struct method MarshalBinary (line 68) | func (wmh *WeightedMinHasher) MarshalBinary() (data []byte, err error) { method UnmarshalBinary (line 100) | func (wmh *WeightedMinHasher) UnmarshalBinary(data []byte) error { method Hash (line 149) | func (wmh *WeightedMinHasher) Hash(values []float32, indices []int) []... function NewWeightedMinHasher (line 35) | func NewWeightedMinHasher(dim int, sampleSize int, seed int64) *Weighted... FILE: licensedb/internal/wmh/wmh_test.go function TestWMHSerialize (line 9) | func TestWMHSerialize(t *testing.T) { function TestWMHHash (line 24) | func TestWMHHash(t *testing.T) { function TestWMHTrash (line 101) | func TestWMHTrash(t *testing.T) { FILE: licensedb/licensedb.go function Detect (line 19) | func Detect(fs filer.Filer) (map[string]api.Match, error) {