MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / write_json

Function write_json

tools/model_manager.py:1809–1810  ·  view source on GitHub ↗
(path: Path, payload: Any)

Source from the content-addressed store, hash-verified

1807 shutil.rmtree(target_dir)
1808 target_dir.parent.mkdir(parents=True, exist_ok=True)
1809 staging_dir.rename(target_dir)
1810 return target_dir
1811 except Exception:
1812 shutil.rmtree(staging_dir, ignore_errors=True)
1813 raise

Callers 4

convert_demucs_singleFunction · 0.85
install_demucs_referenceFunction · 0.85
write_citrinet_sidecarsFunction · 0.85
write_marblenet_sidecarsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected