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

Method GetDeprecatedAllowDuplicates

validator/validator.pb.go:2889–2894  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2887}
2888
2889func (x *ExtensionSpec) GetDeprecatedAllowDuplicates() bool {
2890 if x != nil && x.DeprecatedAllowDuplicates != nil {
2891 return *x.DeprecatedAllowDuplicates
2892 }
2893 return Default_ExtensionSpec_DeprecatedAllowDuplicates
2894}
2895
2896func (x *ExtensionSpec) GetRequiresUsage() ExtensionSpec_ExtensionUsageRequirement {
2897 if x != nil && x.RequiresUsage != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected