MCPcopy Index your code
hub / github.com/ShareDropio/sharedrop / rm

Function rm

app/services/file.js:40–48  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

38 () => {
39 filer.ls('/', (entries) => {
40 function rm(entry) {
41 if (entry) {
42 filer.rm(entry, () => {
43 rm(entries.pop());
44 });
45 } else {
46 resolve();
47 }
48 }
49
50 rm(entries.pop());
51 });

Callers 1

file.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected