MCPcopy Create free account
hub / github.com/cortexkit/magic-context / readJsonl

Function readJsonl

packages/cli/src/commands/migrate.test.ts:139–144  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

137}
138
139function readJsonl(path: string) {
140 return readFileSync(path, "utf-8")
141 .trim()
142 .split("\n")
143 .map((line) => JSON.parse(line));
144}
145
146function makeCortexkitDb() {
147 const ck = new Database(":memory:");

Callers 1

migrate.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected