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

Function toDriver

packages/core/src/database/path.ts:35–37  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

33 return "text"
34 },
35 toDriver(input) {
36 return absolute(input)
37 },
38 fromDriver(input) {
39 return AbsolutePath.make(toPlatform(absolute(input)))
40 },

Callers

nothing calls this directly

Calls 2

storagePathFunction · 0.85
absoluteFunction · 0.70

Tested by

no test coverage detected