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

Function createFileStub

validator/js/gulpjs/test/validate.js:174–179  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

172 }
173
174 function createFileStub(name) {
175 return new File({
176 path: name,
177 contents: new Buffer('no contents'),
178 });
179 }
180
181 function createFile(name) {
182 return new File({

Callers 4

validate.jsFile · 0.85
createFailedFileFunction · 0.85
createPassedFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected