removeFile method
- String path
Removes (deletes) the file at the given path from the repository.
Implementation
Future<void> removeFile(
String path,
) async {
final request = RequestRepositoryRemoveFile(
repo: handle,
path: path,
);
final response = await client.invoke(request);
switch (response) {
case ResponseNone(): return;
default: throw UnexpectedResponse();
}
}