Chromium Code Reviews| Index: utils/tests/pub/test_pub.dart |
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart |
| index 63301f40a51d2a9cb27183d31f0323ae3900401e..a15a889014673d4d470087fb135515b4c685599f 100644 |
| --- a/utils/tests/pub/test_pub.dart |
| +++ b/utils/tests/pub/test_pub.dart |
| @@ -363,6 +363,15 @@ DirectoryDescriptor cacheDir(Map packages) { |
| ]); |
| } |
| +// TODO REMOVE |
|
nweiz
2013/02/13 19:54:31
Did you mean to actually remove this method?
Bob Nystrom
2013/02/13 21:11:31
Heh, yes. :)
|
| +/// Describes the directory in the system cache where the package [name] at |
| +/// [version] is stored when installed from the mock package server. |
| +Future<String> hostedCacheDir(String name, String version) { |
| + return port.then((p) { |
| + return path.join(cachePath, "hosted", "localhost%58$p", "$name-$version"); |
| + }); |
| +} |
| + |
| /// Describes the file in the system cache that contains the client's OAuth2 |
| /// credentials. The URL "/token" on [server] will be used as the token |
| /// endpoint for refreshing the access token. |