mirrorExists method
- String host
Checks if this repository is mirrored on the given cache server host.
Implementation
Future<bool> mirrorExists(
String host,
) async {
final request = RequestRepositoryMirrorExists(
repo: handle,
host: host,
);
final response = await client.invoke(request);
switch (response) {
case ResponseBool(value: final value): return value;
default: throw UnexpectedResponse();
}
}