const golang.org/x/mod/zip.MaxLICENSE
6 uses
golang.org/x/mod/zip (current package)
zip.go#L77: MaxLICENSE = 16 << 20
zip.go#L166: errLICENSESize = fmt.Errorf("LICENSE file too large (max size is %d bytes)", MaxLICENSE)
zip.go#L306: if p == "LICENSE" && size > MaxLICENSE {
zip.go#L461: if name == "LICENSE" && sz > MaxLICENSE {
zip.go#L462: addError(zf, fmt.Errorf("LICENSE file too large (max size is %d bytes)", MaxLICENSE))
golang.org/x/pkgsite/internal/licenses
licenses.go#L56: var maxLicenseSize uint64 = modzip.MaxLICENSE
![]() |
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. |