purgeActivePatch method
Purges active staged patch from local storage.
Implementation
@override
Future<void> purgeActivePatch() async {
if (stagingDir.existsSync()) {
try {
stagingDir.deleteSync(recursive: true);
logger.info('BloomHttpUpdateAdapter: Staged patches purged successfully.');
} catch (e) {
logger.warn('BloomHttpUpdateAdapter: Could not delete staging dir: $e');
}
}
}