MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / migrate

Method migrate

packages/core/src/document/node/node.ts:490–492  ·  view source on GitHub ↗

* migrate this node to a new parent

(newParent: Node)

Source from the content-addressed store, hash-verified

488 * migrate this node to a new parent
489 */
490 migrate(newParent: Node) {
491 this.document.migrateNode(this, newParent)
492 }
493
494 /**
495 * if the node is linked in the document tree

Callers

nothing calls this directly

Calls 1

migrateNodeMethod · 0.80

Tested by

no test coverage detected