Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vitest-dev/vitest
/ getFiles
Function
getFiles
test/cli/test/init.test.ts:80–82 ·
view source on GitHub ↗
(subDir = '')
Source
from the content-addressed store, hash-verified
78
})
79
80
async
function
getFiles(subDir =
''
) {
81
return
await
readdir(cwd + subDir)
82
}
83
84
async
function
getFileContent(subDir =
''
) {
85
return
await
readFile(cwd + subDir,
'utf8'
)
Callers
2
cleanup
Function · 0.70
init.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected