MCPcopy Index your code
hub / github.com/nodejs/node / getSource

Function getSource

test/parallel/test-vm-cached-data.js:7–9  ·  view source on GitHub ↗
(tag)

Source from the content-addressed store, hash-verified

5const spawnSync = require('child_process').spawnSync;
6
7function getSource(tag) {
8 return `(function ${tag}() { return '${tag}'; })`;
9}
10
11function produce(source, count) {
12 count ||= 1;

Callers 4

testProduceConsumeFunction · 0.70
testProduceMultipleFunction · 0.70
testRejectInvalidFunction · 0.70
testRejectSliceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…