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

Method findOrAddChild

deps/v8/tools/profile.mjs:1065–1067  ·  view source on GitHub ↗

* Finds an immediate child of the specified parent with the specified * label, creates a child node if necessary. If a parent node isn't * specified, uses tree root. * * @param {string} label Child node label.

(label)

Source from the content-addressed store, hash-verified

1063 * @param {string} label Child node label.
1064 */
1065 findOrAddChild(label) {
1066 return this.root_.findOrAddChild(label);
1067 }
1068
1069 /**
1070 * Creates a subtree by cloning and merging all subtrees rooted at nodes

Callers 4

getFlatProfileMethod · 0.95
addPathMethod · 0.45
cloneSubtreeMethod · 0.45
profile.mjsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected