Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ createFile
Function
createFile
validator/js/gulpjs/test/validate.js:181–186 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
179
}
180
181
function
createFile(name) {
182
return
new
File({
183
path: name,
184
contents:
new
Buffer(fs.readFileSync(name,
'utf8'
)),
185
});
186
}
187
188
class
MockLogger {
189
Callers
1
validate.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected