MCPcopy Create free account
hub / github.com/nodejs/node / _get_operator

Method _get_operator

tools/gyp/pylib/packaging/specifiers.py:370–374  ·  view source on GitHub ↗
(self, op: str)

Source from the content-addressed store, hash-verified

368 return self._canonical_spec == other._canonical_spec
369
370 def _get_operator(self, op: str) -> CallableOperator:
371 operator_callable: CallableOperator = getattr(
372 self, f"_compare_{self._operators[op]}"
373 )
374 return operator_callable
375
376 def _compare_compatible(self, prospective: Version, spec: str) -> bool:
377

Callers 2

_compare_compatibleMethod · 0.95
containsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected