Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/subquery/subql
/ fileExists
Function
fileExists
packages/cli/src/controller/init-controller.test.ts:45–48 ·
view source on GitHub ↗
(file: string)
Source
from the content-addressed store, hash-verified
43
}
44
45
async
function
fileExists(file: string): Promise<boolean> {
46
await
fs.promises.access(file, fs.constants.F_OK);
47
return
true;
48
}
49
50
jest.setTimeout(30000);
51
Callers
1
init-controller.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected