MCPcopy Index your code
hub / github.com/nodejs/node / _process_metadata_version

Method _process_metadata_version

tools/gyp/pylib/packaging/metadata.py:525–529  ·  view source on GitHub ↗
(self, value: str)

Source from the content-addressed store, hash-verified

523 return exc
524
525 def _process_metadata_version(self, value: str) -> _MetadataVersion:
526 # Implicitly makes Metadata-Version required.
527 if value not in _VALID_METADATA_VERSIONS:
528 raise self._invalid_metadata(f"{value!r} is not a valid metadata version")
529 return cast(_MetadataVersion, value)
530
531 def _process_name(self, value: str) -> str:
532 if not value:

Callers

nothing calls this directly

Calls 2

_invalid_metadataMethod · 0.95
castFunction · 0.50

Tested by

no test coverage detected