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

Method GetExtensionType

validator/validator.pb.go:2882–2887  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2880}
2881
2882func (x *ExtensionSpec) GetExtensionType() ExtensionSpec_ExtensionType {
2883 if x != nil && x.ExtensionType != nil {
2884 return *x.ExtensionType
2885 }
2886 return Default_ExtensionSpec_ExtensionType
2887}
2888
2889func (x *ExtensionSpec) GetDeprecatedAllowDuplicates() bool {
2890 if x != nil && x.DeprecatedAllowDuplicates != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected