Files
sdk/runtime/bin/file_system_entity_patch.dart
T
Ben Konyi 3ab7cf0590 Revert "[dart:io] Revert recent non-utf8 path handling"
This reverts commit 42bcdcd332.

Change-Id: I11fb7db2aac3b7dc15cb35a22fea38b31069cbc0
Reviewed-on: https://dart-review.googlesource.com/55502
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2018-05-23 21:01:44 +00:00

25 lines
754 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.
// part of "common_patch.dart";
@patch
class FileStat {
@patch
static _statSync(_Namespace namespace, String path) native "File_Stat";
}
@patch
class FileSystemEntity {
@patch
static _getTypeNative(_Namespace namespace, Uint8List rawPath,
bool followLinks) native "File_GetType";
@patch
static _identicalNative(_Namespace namespace, String path1, String path2)
native "File_AreIdentical";
@patch
static _resolveSymbolicLinks(_Namespace namespace, Uint8List path)
native "File_ResolveSymbolicLinks";
}