MCPcopy Create free account
hub / github.com/TanStack/cli / getChangedFiles

Function getChangedFiles

scripts/generate-semantic-changeset.mjs:98–102  ·  view source on GitHub ↗
(baseSha)

Source from the content-addressed store, hash-verified

96}
97
98function getChangedFiles(baseSha) {
99 const raw = runGit(`diff --name-only ${baseSha}..HEAD`)
100 if (!raw) return []
101 return raw.split('\n').map((line) => line.trim()).filter(Boolean)
102}
103
104function getTargetPackageNames(changedFiles, packages) {
105 const affected = new Set()

Callers 1

mainFunction · 0.85

Calls 1

runGitFunction · 0.85

Tested by

no test coverage detected