From fccb28898554a98c90e3e5b1cc062761b38007df Mon Sep 17 00:00:00 2001 From: Simon Detheridge Date: Mon, 6 Jan 2020 15:13:50 +0000 Subject: [PATCH] Add comment regarding deleteDirectory being internal-only --- services/filestore/app/js/FSPersistorManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/services/filestore/app/js/FSPersistorManager.js b/services/filestore/app/js/FSPersistorManager.js index c649dfb61b..1a9d2b824d 100644 --- a/services/filestore/app/js/FSPersistorManager.js +++ b/services/filestore/app/js/FSPersistorManager.js @@ -123,6 +123,7 @@ async function deleteFile(location, name) { } } +// this is only called internally for clean-up by `FileHandler` and isn't part of the external API async function deleteDirectory(location, name) { const filteredName = filterName(name.replace(/\/$/, ''))