MCPcopy Create free account
hub / github.com/NVIDIA/NeMo-Relay / reset_output_dir

Function reset_output_dir

scripts/docs/reference_common.py:75–78  ·  view source on GitHub ↗
(output_dir: Path)

Source from the content-addressed store, hash-verified

73
74
75def reset_output_dir(output_dir: Path) -> None:
76 if output_dir.exists():
77 shutil.rmtree(output_dir)
78 output_dir.mkdir(parents=True)

Callers 3

generateFunction · 0.90
generateFunction · 0.90
generateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected