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

Function command_info

tools/model_manager.py:1981–1990  ·  view source on GitHub ↗
(args: argparse.Namespace)

Source from the content-addressed store, hash-verified

1979 for relative in required_files:
1980 source_path = source_root / relative
1981 destination_path = destination_root / relative
1982 destination_path.parent.mkdir(parents=True, exist_ok=True)
1983 shutil.copy2(source_path, destination_path)
1984
1985
1986def install_snapshot(package: ModelPackage, source: SnapshotSource, models_root: Path, overwrite: bool) -> Path:
1987 target_dir = models_root / package.target_directory
1988 staging_root = models_root / ".engine_model_staging"
1989 staging_root.mkdir(parents=True, exist_ok=True)
1990 staging_dir = Path(tempfile.mkdtemp(prefix=f"{package.target_directory}.", dir=staging_root))
1991 try:
1992 generated_files = {"audiovae.safetensors"}
1993 pre_validate_files = tuple(

Callers 1

mainFunction · 0.85

Calls 3

package_payloadFunction · 0.85
printFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected