MCPcopy
hub / github.com/Effect-TS/effect / keyPath

Function keyPath

packages/platform/src/internal/keyValueStore.ts:200–200  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

198 const fs = yield* FileSystem.FileSystem
199 const path = yield* Path.Path
200 const keyPath = (key: string) => path.join(directory, encodeURIComponent(key))
201
202 if (!(yield* fs.exists(directory))) {
203 yield* fs.makeDirectory(directory, { recursive: true })

Callers 1

layerFileSystemFunction · 0.85

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…