MCPcopy Create free account
hub / github.com/ampproject/amphtml / GetMaxBytes

Method GetMaxBytes

validator/validator.pb.go:3452–3457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3450}
3451
3452func (x *DocSpec) GetMaxBytes() int32 {
3453 if x != nil && x.MaxBytes != nil {
3454 return *x.MaxBytes
3455 }
3456 return Default_DocSpec_MaxBytes
3457}
3458
3459func (x *DocSpec) GetMaxBytesSpecUrl() string {
3460 if x != nil && x.MaxBytesSpecUrl != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected