MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / exists

Function exists

packages/bumpy/src/utils/fs.ts:68–75  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

66}
67
68export async function exists(filePath: string): Promise<boolean> {
69 try {
70 await access(filePath);
71 return true;
72 } catch {
73 return false;
74 }
75}
76
77export async function listFiles(dir: string, ext?: string): Promise<string[]> {
78 try {

Callers 15

migrate.test.tsFile · 0.90
detectPackageManagerFunction · 0.90
getWorkspaceGlobsFunction · 0.90
loadCatalogsFunction · 0.90
getChangedCatalogEntriesFunction · 0.90
initCommandFunction · 0.90
warnChangesetWorkflowsFunction · 0.90
addCommandFunction · 0.90
applyReleasePlanFunction · 0.90
expandGlobFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…