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

Method record

pex/layout.py:46–49  ·  view source on GitHub ↗
(self, pex_directory)

Source from the content-addressed store, hash-verified

44 return Layout.for_value(fp.read().strip())
45
46 def record(self, pex_directory):
47 # type: (str) -> None
48 with open(os.path.join(pex_directory, PEX_LAYOUT_PATH), "w") as fp:
49 fp.write(self.value)
50
51 ZIPAPP = Value("zipapp")
52 PACKED = Value("packed")

Callers

nothing calls this directly

Calls 2

joinMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected