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

Function validateByRetainingPath

test/common/heap.js:334–337  ·  view source on GitHub ↗

* Similar to validateByRetainingPathFromNodes but creates the snapshot from scratch. * @returns {object[]}

(...args)

Source from the content-addressed store, hash-verified

332 * @returns {object[]}
333 */
334function validateByRetainingPath(...args) {
335 const nodes = createJSHeapSnapshot();
336 return validateByRetainingPathFromNodes(nodes, ...args);
337}
338
339function getRetainingNodes(startingNode, filter) {
340 const seen = new Set();

Calls 2

createJSHeapSnapshotFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…