MCPcopy
hub / github.com/pex-tool/pex / sync

Method sync

pex/cli/commands/lock.py:405–413  ·  view source on GitHub ↗
(self, requirement_configuration)

Source from the content-addressed store, hash-verified

403 )
404
405 def sync(self, requirement_configuration):
406 # type: (RequirementConfiguration) -> Union[LockUpdate, Result]
407 if not self._update_requests:
408 return self._no_updates()
409
410 return self._lock_updater.sync(
411 update_requests=self._update_requests,
412 requirement_configuration=requirement_configuration,
413 )
414
415 def _no_updates(self):
416 # type: () -> Ok

Callers

nothing calls this directly

Calls 2

_no_updatesMethod · 0.95
syncMethod · 0.45

Tested by

no test coverage detected