Removes a directory
Path of the directory to remove
Whether to remove directory contents recursively
OperationResult indicating success or failure
const result = await removeDirectory('/path/to/dir', true);if (result.success) { console.log('Directory removed successfully');} Copy
const result = await removeDirectory('/path/to/dir', true);if (result.success) { console.log('Directory removed successfully');}
Removes a directory