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

Method GetAllowRelative

validator/validator.pb.go:1411–1416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1409}
1410
1411func (x *UrlSpec) GetAllowRelative() bool {
1412 if x != nil && x.AllowRelative != nil {
1413 return *x.AllowRelative
1414 }
1415 return Default_UrlSpec_AllowRelative
1416}
1417
1418func (x *UrlSpec) GetAllowEmpty() bool {
1419 if x != nil && x.AllowEmpty != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected