MCPcopy
hub / github.com/anomalyco/opencode / remappedStorage

Function remappedStorage

packages/opencode/test/storage/storage.test.ts:60–61  ·  view source on GitHub ↗
(root: string)

Source from the content-addressed store, hash-verified

58// returns the outer testEffect's Storage (which uses the real FSUtil), not a new
59// one built on top of remappedFs.
60const remappedStorage = (root: string) =>
61 Layer.fresh(LayerNode.compile(Storage.node, [[FSUtil.node, remappedFs(root)]]))
62
63describe("Storage", () => {
64 it.live("round-trips JSON content", () =>

Callers 1

storage.test.tsFile · 0.85

Calls 1

remappedFsFunction · 0.70

Tested by

no test coverage detected