MCPcopy
hub / github.com/CodeboxIDE/codebox / removeIt

Function removeIt

client/vendors/filer.js:691–697  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

689 }
690
691 var removeIt = function(entry) {
692 if (entry.isFile) {
693 entry.remove(successCallback, opt_errorHandler);
694 } else if (entry.isDirectory) {
695 entry.removeRecursively(successCallback, opt_errorHandler);
696 }
697 };
698
699 if (entryOrPath.isFile || entryOrPath.isDirectory) {
700 removeIt(entryOrPath);

Callers 1

filer.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected