const golang.org/x/pkgsite/internal/fetch.MaxFileSize
7 uses
golang.org/x/pkgsite/internal/fetch (current package)
limit.go#L15: MaxFileSize = 30 * megabyte
load.go#L66: b, err := readZipFile(f, MaxFileSize)
package.go#L150: if f.UncompressedSize64 > MaxFileSize {
package.go#L154: f.Name, f.UncompressedSize64, MaxFileSize)
readme.go#L28: if zipFile.UncompressedSize64 > MaxFileSize {
readme.go#L29: return nil, fmt.Errorf("file size %d exceeds max limit %d", zipFile.UncompressedSize64, MaxFileSize)
readme.go#L31: c, err := readZipFile(zipFile, MaxFileSize)
![]() |
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. |