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

Function LocalModuleName

validator/validator_gen_js.py:686–687  ·  view source on GitHub ↗
(module_name)

Source from the content-addressed store, hash-verified

684# When naming the protocol buffer javascript exports locally, we do with no
685# namespace.
686def LocalModuleName(module_name):
687 return module_name.replace('amp.validator.', '')
688
689
690def GenerateValidatorGeneratedJs(specfile, validator_pb2, generate_proto_only,

Callers 3

PrintClassForFunction · 0.85
PrintEnumForFunction · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected