MCPcopy Create free account
hub / github.com/ampproject/amphtml / getModifiedSourceFiles

Function getModifiedSourceFiles

build-system/tasks/sweep-experiments/index.js:78–81  ·  view source on GitHub ↗
(fromHash)

Source from the content-addressed store, hash-verified

76 * @return {!Array<string>}
77 */
78const getModifiedSourceFiles = (fromHash) =>
79 getStdoutLines(`git diff --name-only ${fromHash}..HEAD | grep .js`).filter(
80 (file) => !globalWritablePaths.includes(file)
81 );
82
83/**
84 * @param {string} id

Callers 1

sweepExperimentsFunction · 0.85

Calls 2

getStdoutLinesFunction · 0.85
filterMethod · 0.45

Tested by

no test coverage detected