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

Unified Diff: runtime/bin/directory.dart

Issue 8799009: Add support for client/dartc compilation only tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
Index: runtime/bin/directory.dart
diff --git a/runtime/bin/directory.dart b/runtime/bin/directory.dart
index b98fd45297c3124c0b144f93c00b03bca9ee5f30..222b3de471b3ebd5ca60ca1ca5cc8b2a5e115a78 100644
--- a/runtime/bin/directory.dart
+++ b/runtime/bin/directory.dart
@@ -35,6 +35,16 @@ interface Directory factory _Directory {
void createTemp();
/**
+ * Synchronously creates a temporary directory with a name based on the current path.
+ * This name and path is used as a template, and additional characters are
+ * appended to it by the call to make a unique directory name. If the
+ * path is the empty string, a default system temp directory and name
+ * are used for the template.
+ * The path is modified to be the path of the new directory.
+ */
+ void createTempSync();
+
+ /**
* Deletes the directory with this name. Throws an exception
* if the directory is not empty or if deletion failed.
*/

Powered by Google App Engine
This is Rietveld 408576698