Chromium Code Reviews

Unified Diff: utils/pub/system_cache.dart

Issue 12255016: Get rid of old redundant methods in io.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: utils/pub/system_cache.dart
diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart
index 13e6b8d68db8d6ca2119339b00abd2c61cb32fc1..cdb537cac9a6eaea33f3ea902ee0cdd91f5601b9 100644
--- a/utils/pub/system_cache.dart
+++ b/utils/pub/system_cache.dart
@@ -101,7 +101,7 @@ class SystemCache {
/// packages into while installing. It uses this instead of the OS's system
/// temp directory to ensure that it's on the same volume as the pub system
/// cache so that it can move the directory from it.
- Directory createTempDir() {
+ String createTempDir() {
var temp = ensureDir(tempDir);
return io.createTempDir(join(temp, 'dir'));
}

Powered by Google App Engine