Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Unified Diff: utils/pub/io.dart

Issue 12540010: Work around issue 9252 in scheduled_test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix pkg/http. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/scheduled_test/test/utils.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/io.dart
diff --git a/utils/pub/io.dart b/utils/pub/io.dart
index 51c3f1314ac5cbdab8fa4162331bf879fda9f28c..381889db264a782c8a144fcb99dd9c5927f385b4 100644
--- a/utils/pub/io.dart
+++ b/utils/pub/io.dart
@@ -128,6 +128,7 @@ String createTempDir([dir = '']) {
return tempDir.path;
}
+// TODO(nweiz): Remove this when issue 9252 is fixed.
/// Asynchronously recursively deletes [dir]. Returns a [Future] that completes
/// when the deletion is done.
Future<String> deleteDir(String dir) {
@@ -227,6 +228,7 @@ Future<String> cleanDir(String dir) {
});
}
+// TODO(nweiz): remove this when issue 9253 is fixed.
/// Renames (i.e. moves) the directory [from] to [to]. Returns a [Future] with
/// the destination directory.
Future<String> renameDir(String from, String to) {
« no previous file with comments | « pkg/scheduled_test/test/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698