This makes bundle removal atomic by first renaming the bundle and working directories to a hidden path before removing the underlying directories. Closes #2567 Closes #2327 Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Signed-off-by: Lifubang <lifubang@acmcoder.com> code optimization after review Signed-off-by: Lifubang <lifubang@acmcoder.com>
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>