deletePrefix method

  1. @override
Future<void> deletePrefix(
  1. String prefix
)
override

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

@override
Future<void> deletePrefix(String prefix) async {
  checkNotDisposed();
  // Nuke EVERY backing record under the prefix — manifests AND chunks.
  await _backing.deletePrefix(prefix);
}