MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / isFile

Function isFile

src/workspaces/agent-detect.ts:92–98  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

90}
91
92function isFile(p: string): boolean {
93 try {
94 return existsSync(p) && statSync(p).isFile();
95 } catch {
96 return false;
97 }
98}

Callers 1

findExecutableOnPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected