MCPcopy Create free account
hub / github.com/electric-sql/electric / load

Function load

website/data/primitives.data.ts:7–11  ·  view source on GitHub ↗
(files: string[])

Source from the content-addressed store, hash-verified

5 watch: [`./primitives/primitives.yaml`],
6
7 load(files: string[]) {
8 const contents = fs.readFileSync(files[0], `utf-8`)
9
10 return parse(contents)
11 },
12}

Callers

nothing calls this directly

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected