You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FWIW, In another project, I just ignore the filename suffix to produce a list of candidates.
Seems to be ok.
// LicenseFilePrefix is a list of filename prefixes that indicate it// might contain a software licensevarLicenseFilePrefix= []string{
"license",
"copying",
"unlicensed",
//Mine has "copyright" and "copyleft" too
}
// IsPossibleLicenseFile returns true if the filename might be contain a software licensefuncIsPossibleLicenseFile(filenamestring) bool {
lowerfile:=strings.ToLower(filename)
for_, prefix:=rangeLicenseFilePrefix {
ifstrings.HasPrefix(lowerfile, prefix) {
returntrue
}
}
returnfalse
}
https://en.wikipedia.org/wiki/ReStructuredText
https://www.google.com/search?client=safari&rls=en&q=site:github.com+copyleft&ie=UTF-8&oe=UTF-8#q=site:github.com+license.rst
site:github.com copying.st
etc
The text was updated successfully, but these errors were encountered: