deleteMirror method
- String host
Deletes mirror of this repository from the given cache server host.
Requires the repository to be opened in write mode.
Implementation
Future<void> deleteMirror(
String host,
) async {
final request = RequestRepositoryDeleteMirror(
repo: handle,
host: host,
);
final response = await client.invoke(request);
switch (response) {
case ResponseNone(): return;
default: throw UnexpectedResponse();
}
}