MCPcopy Create free account
hub / github.com/hashintel/hash / initialize

Function initialize

libs/@blockprotocol/graph/src/codegen/initialize.ts:7–11  ·  view source on GitHub ↗
(context: InitializeContext)

Source from the content-addressed store, hash-verified

5import type { InitializeContext } from "./context/initialize.js";
6
7export const initialize = async (context: InitializeContext) => {
8 await ensureOutputDirExists(context);
9 await cleanOutputDir(context);
10 await traverseAndCollateSchemas(context);
11};

Callers 1

codegenFunction · 0.50

Calls 3

ensureOutputDirExistsFunction · 0.85
cleanOutputDirFunction · 0.85

Tested by

no test coverage detected