[flutter_tools] refactor artifact downloading to retry zip exceptions. (#64512)
This commit is contained in:
@@ -915,11 +915,6 @@ class FakeCache implements Cache {
|
||||
throw UnsupportedError('Not supported in the fake Cache');
|
||||
}
|
||||
|
||||
@override
|
||||
Future<String> getThirdPartyFile(String urlStr, String serviceName) {
|
||||
throw UnsupportedError('Not supported in the fake Cache');
|
||||
}
|
||||
|
||||
@override
|
||||
String getVersionFor(String artifactName) {
|
||||
throw UnsupportedError('Not supported in the fake Cache');
|
||||
@@ -949,10 +944,6 @@ class FakeCache implements Cache {
|
||||
Future<void> updateAll(Set<DevelopmentArtifact> requiredArtifacts) async {
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> downloadFile(Uri url, File location) async {
|
||||
}
|
||||
|
||||
@override
|
||||
Future<bool> doesRemoteExist(String message, Uri url) async {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user