MCPcopy Create free account
hub / github.com/anomalyco/opencode / layer

Function layer

packages/core/src/database/sqlite.bun.ts:178–183  ·  view source on GitHub ↗
(config: Config)

Source from the content-addressed store, hash-verified

176)
177
178export const layer = (config: Config) => {
179 const native = nativeLayer(config)
180 return Layer.merge(native, Layer.merge(sqliteLayer(config), drizzleLayer).pipe(Layer.provide(native))).pipe(
181 Layer.provide(Reactivity.layer),
182 )
183}

Callers

nothing calls this directly

Calls 2

nativeLayerFunction · 0.70
sqliteLayerFunction · 0.70

Tested by

no test coverage detected