deletePrefix abstract method

Future<void> deletePrefix(
  1. String prefix
)

Delete every object whose key starts with prefix (batch delete).

Prefixes are RAW string prefixes, S3-style — the same rule on every backend. deletePrefix('photos') removes photos/a AND photos_old/b AND photos2; end the prefix with / to scope to a pseudo-directory: deletePrefix('photos/') removes only photos/*. The empty prefix deletes everything.

Implementation

Future<void> deletePrefix(String prefix);