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

Function layerFromPath

packages/core/src/database/database.ts:39–41  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

37)
38
39export function layerFromPath(filename: string) {
40 return layer.pipe(Layer.provide(sqliteLayer({ filename })))
41}
42
43export function path() {
44 if (Flag.OPENCODE_DB) {

Callers 1

database.tsFile · 0.85

Calls 1

sqliteLayerFunction · 0.70

Tested by

no test coverage detected