MCPcopy Index your code
hub / github.com/Effect-TS/effect / import

Function import

packages/sql-sqlite-wasm/src/SqliteClient.ts:214–219  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

212 catch: (cause) => new SqlError({ cause, message: "Failed to export database" })
213 }),
214 import(data) {
215 return Effect.try({
216 try: () => sqlite3.deserialize(db, "main", data, data.length, data.length, 1 | 2),
217 catch: (cause) => new SqlError({ cause, message: "Failed to import database" })
218 })
219 }
220 })
221 })
222

Callers

nothing calls this directly

Calls 2

withPermitsMethod · 0.80
sendFunction · 0.70

Tested by

no test coverage detected