Add comment regarding deleteDirectory being internal-only

This commit is contained in:
Simon Detheridge
2020-01-07 09:26:01 +00:00
parent f1b6b35c69
commit fccb288985
@@ -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(/\/$/, ''))