MCPcopy
hub / github.com/EveryInc/compound-engineering-plugin / entryExists

Function entryExists

tests/codex-writer.test.ts:20–27  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

18}
19
20async function entryExists(filePath: string): Promise<boolean> {
21 try {
22 await fs.lstat(filePath)
23 return true
24 } catch {
25 return false
26 }
27}
28
29async function pluginDescription(relativePath: string): Promise<string> {
30 const raw = await fs.readFile(path.join(import.meta.dir, "..", relativePath), "utf8")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected