MCPcopy Create free account
hub / github.com/AutoPackAI/autopack / write_metadata_file

Function write_metadata_file

autopack/utils.py:60–65  ·  view source on GitHub ↗
(data: dict[str, Any])

Source from the content-addressed store, hash-verified

58
59
60def write_metadata_file(data: dict[str, Any]):
61 metadata_dir = find_or_create_autopack_dir()
62 metadata_file = os.path.join(metadata_dir, "pack_metadata.json")
63
64 with open(metadata_file, "w+") as f:
65 json.dump(data, f)
66
67
68def find_module(pack_data: PackResponse) -> ModuleType:

Callers 1

update_metadata_fileFunction · 0.90

Calls 1

Tested by

no test coverage detected