MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / readIfExists

Function readIfExists

src/tools/git/release-notes.ts:145–147  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

143}
144
145async function readIfExists(p: string): Promise<string> {
146 try { return await fs.readFile(p, 'utf-8'); } catch { return ''; }
147}
148
149async function readCommits(
150 cwd: string,

Callers 1

executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected