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

Function removeFolder

src/lib/recents.js:54–59  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

52 },
53
54 removeFolder(url) {
55 ({ url } = Url.parse(url));
56 this.folders = this.folders.filter((folder) => {
57 return !new RegExp("^" + escapeStringRegexp(folder.url)).test(url);
58 });
59 },
60
61 removeFile(url) {
62 ({ url } = Url.parse(url));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected