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

Side by Side Diff: sdk/lib/_internal/pub_generated/lib/src/system_cache.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library pub.system_cache; 5 library pub.system_cache;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io'; 8 import 'dart:io';
9 9
10 import 'package:path/path.dart' as path; 10 import 'package:path/path.dart' as path;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 var temp = ensureDir(tempDir); 99 var temp = ensureDir(tempDir);
100 return io.createTempDir(temp, 'dir'); 100 return io.createTempDir(temp, 'dir');
101 } 101 }
102 102
103 /// Deletes the system cache's internal temp directory. 103 /// Deletes the system cache's internal temp directory.
104 void deleteTempDir() { 104 void deleteTempDir() {
105 log.fine('Clean up system cache temp directory $tempDir.'); 105 log.fine('Clean up system cache temp directory $tempDir.');
106 if (dirExists(tempDir)) deleteEntry(tempDir); 106 if (dirExists(tempDir)) deleteEntry(tempDir);
107 } 107 }
108 } 108 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub_generated/lib/src/source_registry.dart ('k') | sdk/lib/_internal/pub_generated/lib/src/transcript.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698