MCPcopy Create free account
hub / github.com/babel/minify / getFile

Method getFile

scripts/benchmark.js:142–144  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

140 return delta[0] * 1e3 + delta[1] / 1e6;
141 }
142 getFile(filename) {
143 return fs.readFileSync(filename, "utf-8").toString();
144 }
145}
146
147class Printer {

Callers 1

runFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected