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

Side by Side Diff: frog/file_system_dom.dart

Issue 8572044: Clean and create output directory when generating docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Git rid of need for grid-22.png. Created 9 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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('file_system_dom'); 5 #library('file_system_dom');
6 6
7 #import('dart:dom'); 7 #import('dart:dom');
8 #import('file_system.dart'); 8 #import('file_system.dart');
9 9
10 /** 10 /**
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 return result; 61 return result;
62 } 62 }
63 63
64 void writeString(String outfile, String text) { 64 void writeString(String outfile, String text) {
65 outfile = absPath(outfile); 65 outfile = absPath(outfile);
66 _fileCache[outfile] = text; 66 _fileCache[outfile] = text;
67 } 67 }
68 68
69 // Note: this is not a perf nightmare only because of caching. 69 // Note: this is not a perf nightmare only because of caching.
70 bool fileExists(String filename) => readAll(filename) != null; 70 bool fileExists(String filename) => readAll(filename) != null;
71
72 void createDirectory(String path, [bool recursive = false]) {
73 throw 'createDirectory() is not implemented by DomFileSystem yet.';
Jacob 2011/11/16 19:59:30 perhaps add a TODO for each of these methods? Also
Bob Nystrom 2011/11/17 20:44:21 Done.
74 }
75
76 void removeDirectory(String path, [bool recursive = false]) {
77 throw 'removeDirectory() is not implemented by DomFileSystem yet.';
78 }
71 } 79 }
OLDNEW
« no previous file with comments | « frog/file_system.dart ('k') | frog/file_system_node.dart » ('j') | frog/file_system_node.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698