Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ exists
Function
exists
packages/core/test/repository-cache.test.ts:111–118 ·
view source on GitHub ↗
(file: string)
Source
from the content-addressed store, hash-verified
109
}
110
111
function
exists(file: string) {
112
return
Effect.promise(() =>
113
fs.stat(file).then(
114
() => true,
115
() => false,
116
),
117
)
118
}
Callers
1
repository-cache.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected