delete method
Removes the whole container.
Implementation
@override
Future<void> delete(String locator) async {
final loc = TomGitLocator.parse(locator);
final current = await headOf(locator);
if (current == null) return;
await _commitLoop(
locator,
loc,
expectedHead: current,
changeset: null,
message: '${commitMessagePrefix}delete ${loc.path.split('/').last}',
writes: const {},
deletes: {loc.path},
);
}