var golang.org/x/pkgsite/internal/licenses.maxLicenseSize
4 uses
golang.org/x/pkgsite/internal/licenses (current package)
licenses.go#L56: var maxLicenseSize uint64 = modzip.MaxLICENSE
licenses.go#L562: if f.UncompressedSize64 > maxLicenseSize {
licenses.go#L563: return nil, fmt.Errorf("file size %d exceeds max license size %d", f.UncompressedSize64, maxLicenseSize)
licenses.go#L570: return ioutil.ReadAll(io.LimitReader(rc, int64(maxLicenseSize)))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |