MCPcopy
hub / github.com/meteor/meteor / readAndWatchFileWithHash

Method readAndWatchFileWithHash

tools/isobuild/compiler-plugin.js:295–301  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

293 }
294
295 readAndWatchFileWithHash(path) {
296 const sourceBatch = this._resourceSlot.packageSourceBatch;
297 return readAndWatchFileWithHash(
298 sourceBatch.unibuild.watchSet,
299 files.convertToOSPath(path),
300 );
301 }
302
303 readAndWatchFile(path) {
304 return this.readAndWatchFileWithHash(path).contents;

Callers 4

readAndWatchFileMethod · 0.95
project-context.jsFile · 0.80
runLintersFunction · 0.80
requireWithPrefixesFunction · 0.80

Calls 1

readAndWatchFileWithHashFunction · 0.90

Tested by

no test coverage detected