MCPcopy
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
80async function getFiles(subDir = '') {
81 return await readdir(cwd + subDir)
82}
83
84async function getFileContent(subDir = '') {
85 return await readFile(cwd + subDir, 'utf8')

Callers 2

cleanupFunction · 0.70
init.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected