| Index: runtime/bin/file_patch.dart
|
| diff --git a/runtime/bin/file_patch.dart b/runtime/bin/file_patch.dart
|
| index c9e4fccb01e9df906a65981a24a627cb2d68cdd8..e011c6fe4a6300af2071bed8cb78fc2d3b2c602b 100644
|
| --- a/runtime/bin/file_patch.dart
|
| +++ b/runtime/bin/file_patch.dart
|
| @@ -42,6 +42,13 @@ patch class _RandomAccessFile {
|
| /* patch */ static _flush(int id) native "File_Flush";
|
| }
|
|
|
| +patch class _FileSystemWatcher {
|
| + int _watchPath(String path, int events, bool recursive)
|
| + native "FileSystemWatcher_WatchPath";
|
| + void _unwatchPath() native "FileSystemWatcher_UnwatchPath";
|
| + List _readEvents() native "FileSystemWatcher_ReadEvents";
|
| +}
|
| +
|
| Uint8List _makeUint8ListView(Uint8List source, int offsetInBytes, int length) {
|
| return new Uint8List.view(source.buffer, offsetInBytes, length);
|
| }
|
|
|