Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.js
File · 0.85
createFailedFile
Function · 0.85
createFileWithValidatorFailure
Function · 0.85
createPassedFile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected