OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.verbs.x_upgrade_verb; | 5 library fletchc.verbs.x_upgrade_verb; |
6 | 6 |
7 import 'infrastructure.dart'; | 7 import 'infrastructure.dart'; |
8 import '../worker/developer.dart' show upgradeAgent; | 8 import '../worker/developer.dart' show upgradeAgent; |
9 import 'documentation.dart' show upgradeDocumentation; | 9 import 'documentation.dart' show upgradeDocumentation; |
10 | 10 |
11 const Action upgradeAction = const Action( | 11 const Action upgradeAction = const Action( |
(...skipping 14 matching lines...) Expand all Loading... |
26 | 26 |
27 UpgradeTask(this.base, this.package); | 27 UpgradeTask(this.base, this.package); |
28 | 28 |
29 Future call( | 29 Future call( |
30 CommandSender commandSender, | 30 CommandSender commandSender, |
31 StreamIterator<ClientCommand> commandIterator) async { | 31 StreamIterator<ClientCommand> commandIterator) async { |
32 return await upgradeAgent(commandSender, commandIterator, | 32 return await upgradeAgent(commandSender, commandIterator, |
33 SessionState.current, base, package); | 33 SessionState.current, base, package); |
34 } | 34 } |
35 } | 35 } |
OLD | NEW |