MCPcopy
hub / github.com/vitest-dev/vitest / findChangedFiles

Function findChangedFiles

packages/vitest/src/node/vcs/vcs.ts:31–34  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

29function wrapVCSProvider(provider: VCSProvider): VCSProvider {
30 return {
31 async findChangedFiles(options) {
32 const changedFiles = await provider.findChangedFiles(options)
33 return changedFiles.map(file => resolve(options.root, file))
34 },
35 }
36}

Callers

nothing calls this directly

Calls 2

findChangedFilesMethod · 0.65
resolveFunction · 0.50

Tested by

no test coverage detected