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

Function isFile

packages/tui/src/editor-zed.ts:201–207  ·  view source on GitHub ↗
(item: string)

Source from the content-addressed store, hash-verified

199}
200
201function isFile(item: string) {
202 try {
203 return statSync(item).isFile()
204 } catch {
205 return false
206 }
207}
208
209function scoreZedWorkspace(workspacePaths: string | null, cwd: string) {
210 return zedWorkspacePaths(workspacePaths).reduce((score, item) => {

Callers 1

resolveZedDbPathFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected