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

Function getFilesFromFileList

build-system/common/utils.js:101–106  ·  view source on GitHub ↗

* Returns list of files in the comma-separated file named at --filelist. * * @return {Array }

()

Source from the content-addressed store, hash-verified

99 * @return {Array<string>}
100 */
101function getFilesFromFileList() {
102 if (!argv.filelist) {
103 return [];
104 }
105 return fs.readFileSync(argv.filelist, 'utf8').trim().split(',');
106}
107
108/**
109 * Gets a list of files to be checked based on command line args and the given

Callers 3

runTests_Function · 0.85
runWatch_Function · 0.85
updateFilesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected