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

Side by Side Diff: utils/pub/git.dart

Issue 11638010: Convert /** comments to /// in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Respond to review. Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/pub/entrypoint.dart ('k') | utils/pub/git_source.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 /** 5 /// Helper functionality for invoking Git.
6 * Helper functionality for invoking Git.
7 */
8 library git; 6 library git;
9 7
10 import 'io.dart'; 8 import 'io.dart';
11 import 'log.dart' as log; 9 import 'log.dart' as log;
12 import 'utils.dart'; 10 import 'utils.dart';
13 11
14 /// Tests whether or not the git command-line app is available for use. 12 /// Tests whether or not the git command-line app is available for use.
15 Future<bool> get isInstalled { 13 Future<bool> get isInstalled {
16 if (_isGitInstalledCache != null) { 14 if (_isGitInstalledCache != null) {
17 // TODO(rnystrom): The sleep is to pump the message queue. Can use 15 // TODO(rnystrom): The sleep is to pump the message queue. Can use
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 regex.hasMatch(results.stdout[0])); 75 regex.hasMatch(results.stdout[0]));
78 }); 76 });
79 77
80 future.handleException((err) { 78 future.handleException((err) {
81 // If the process failed, they probably don't have it. 79 // If the process failed, they probably don't have it.
82 completer.complete(false); 80 completer.complete(false);
83 return true; 81 return true;
84 }); 82 });
85 83
86 return completer.future; 84 return completer.future;
87 } 85 }
OLDNEW
« no previous file with comments | « utils/pub/entrypoint.dart ('k') | utils/pub/git_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698