OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #library('path'); |
| 6 |
| 7 class path native "require('path')" { |
| 8 static bool existsSync(String filename) native; |
| 9 static String dirname(String path) native; |
| 10 static String basename(String path) native; |
| 11 static String extname(String path) native; |
| 12 static String normalize(String path) native; |
| 13 // TODO(jimhug): Get the right signatures for normalizeArray and join |
| 14 } |
| 15 |
OLD | NEW |