commit | d3558229b76d9464f66f314826cce7682eef417e | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Aug 20 14:26:17 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Mon Aug 23 14:53:18 2021 +0000 |
tree | 66f238913f58086dca8e30aeafe657bba0bb984f | |
parent | 23b3f2d8dc1975400348f7dd439a6e0464caf61c [diff] |
internal/licenses: work on content directory Change the license detector so it works on the content directory of the zip, not the root. Preserve NewDetector's behavior because it's used elsewhere. For golang/go#47834 Change-Id: I42ba0c95cf19dc735b08a342f48323490d21aa0c Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/343958 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.