static int _removeAllCaches() { int status; if((status = emptyDir(PreloadConfig.cachePath)) < 0) { return status; } return 0; }
static int _removeAllBufferedFiles() { int status; if((status = emptyDir(LazyUploadConfig.bufferPath)) < 0) { return status; } return 0; }