MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / root

Method root

src/lib/fileList.js:578–584  ·  view source on GitHub ↗

* Get the root of the tree * @returns {Tree}

()

Source from the content-addressed store, hash-verified

576 * @returns {Tree}
577 */
578 get root() {
579 let root = this;
580 while (root.parent) {
581 root = root.parent;
582 }
583 return root;
584 }
585
586 /**
587 * Update tree name and url

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected