MCPcopy
hub / github.com/streamich/git-cz / getChangedFiles

Function getChangedFiles

lib/util/lerna.js:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60};
61
62const getChangedFiles = () => {
63 const devNull = process.platform === 'win32' ? ' nul' : '/dev/null';
64
65 return execSync('git diff --cached --name-only 2>' + devNull)
66 .toString()
67 .trim()
68 .split('\n');
69};
70
71const getChangedPackages = (state) => {
72 const unique = {};

Callers 1

getChangedPackagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…