Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IceClusters/icmysql
/ ReadFile
Function
ReadFile
src/utils/Files.js:13–15 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
11
}
12
13
async
function
ReadFile(path) {
14
return
(
await
fs.promises.readFile(path)).toString();
15
}
16
17
async
function
ReadDir(path) {
18
return
(
await
fs.readdirSync(path));
Callers
1
InitData
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected