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

Function close

src/pages/fileBrowser/fileBrowser.js:552–559  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

550 navigate("/", "/");
551
552 function close() {
553 const err = new Error("User cancelled");
554 Object.defineProperty(err, "code", {
555 value: 0,
556 });
557 reject(err);
558 $page.hide();
559 }
560
561 function updateSelectionCount($count) {
562 if ($count) {

Callers

nothing calls this directly

Calls 2

definePropertyMethod · 0.80
hideMethod · 0.45

Tested by

no test coverage detected