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

Method isConnected

src/lib/fileList.js:569–572  ·  view source on GitHub ↗

* Check if the root of the tree is added to the open folder list. * @returns {boolean}

()

Source from the content-addressed store, hash-verified

567 * @returns {boolean}
568 */
569 get isConnected() {
570 const root = this.root;
571 return !!addedFolder.find(({ url }) => url === root.url);
572 }
573
574 /**
575 * Get the root of the tree

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected