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

Function _maybe_load_pex_info

testing/subprocess.py:25–30  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

23
24
25def _maybe_load_pex_info(path):
26 # type: (str) -> Optional[PexInfo]
27 try:
28 return PexInfo.from_pex(path)
29 except (KeyError, IOError, OSError):
30 return None
31
32
33def _safe_args(args):

Callers 1

_safe_argsFunction · 0.85

Calls 1

from_pexMethod · 0.80

Tested by

no test coverage detected