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

Method exists

src/lib/installState.js:97–103  ·  view source on GitHub ↗

* * @param {string} url * @returns

(url)

Source from the content-addressed store, hash-verified

95 * @returns
96 */
97 exists(url) {
98 if (typeof this.store[url.toLowerCase()] !== "undefined") {
99 return true;
100 } else {
101 return false;
102 }
103 }
104
105 async save() {
106 this.store = this.updatedStore;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected