Files
sdk/runtime/bin/file_system_entity_patch.dart
T
whesse@google.com 4fc5c84809 Recommit add FileSystemEntity.resolveSymbolicLinks
This was reverted in r27481 because of a failure on the debug Windows VM buildbot.

BUG=dartbug.com/1016

Review URL: https://codereview.chromium.org//23480093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27612 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 12:29:47 +00:00

18 lines
633 B
Dart

// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
patch class FileStat {
/* patch */ static List<int> _statSync(String path) native "File_Stat";
}
patch class FileSystemEntity {
/* patch */ static _getType(String path, bool followLinks)
native "File_GetType";
/* patch */ static _identical(String path1, String path2)
native "File_AreIdentical";
/* patch */ static _resolveSymbolicLinks(String path)
native "File_ResolveSymbolicLinks";
}