Do less `files/rm` calls
TheDiscordian opened this issue · 1 comments
TheDiscordian commented
Currently when adding a directory files/rm
is called for every file, in-case there's an overwrite. Instead we can just call files/rm -r
once on the directory, which would ensure there'd be no collisions anyways.
This would cut down the HTTP calls done on large directories significantly.
TheDiscordian commented
Should probably check if the directory is empty before we remove it.