| 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 /// Access to the operating system. Only supported when Fletch is running on a | 5 /// Access to the operating system. Only supported when Fletch is running on a |
| 6 /// Posix platform. | 6 /// Posix platform. |
| 7 /// | 7 /// |
| 8 /// Usage | 8 /// Usage |
| 9 /// ----- | 9 /// ----- |
| 10 /// ```dart | 10 /// ```dart |
| 11 /// import 'package:os/os.dart'; | 11 /// import 'package:os/os.dart'; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 42 part 'system_posix.dart'; | 42 part 'system_posix.dart'; |
| 43 | 43 |
| 44 abstract class InternetAddress { | 44 abstract class InternetAddress { |
| 45 factory InternetAddress(List<int> bytes) = _InternetAddress; | 45 factory InternetAddress(List<int> bytes) = _InternetAddress; |
| 46 bool get isIP4; | 46 bool get isIP4; |
| 47 } | 47 } |
| 48 | 48 |
| 49 // TODO(ajohnsen): Take a Duration? | 49 // TODO(ajohnsen): Take a Duration? |
| 50 void sleep(int milliseconds) => sys.sleep(milliseconds); | 50 void sleep(int milliseconds) => sys.sleep(milliseconds); |
| 51 int errno() => sys.errno(); | 51 int errno() => sys.errno(); |
| OLD | NEW |