MCPcopy Create free account
hub / github.com/conda/constructor / write_frozen

Function write_frozen

constructor/preconda.py:272–277  ·  view source on GitHub ↗
(freeze_info: dict | None, dst_dir: str)

Source from the content-addressed store, hash-verified

270
271
272def write_frozen(freeze_info: dict | None, dst_dir: str):
273 if not freeze_info or "conda" not in freeze_info:
274 return
275 frozen_path = join(dst_dir, "frozen")
276 with open(frozen_path, "w") as ff:
277 json.dump(freeze_info["conda"], ff)
278
279
280def write_repodata_record(info: dict, dst_dir: str):

Callers 1

write_filesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected