OLD | NEW |
1 | 1 |
2 class _EntrySyncJs extends _DOMTypeJs implements EntrySync native "*EntrySync" { | 2 class _EntrySyncJs extends _DOMTypeJs implements EntrySync native "*EntrySync" { |
3 | 3 |
4 _DOMFileSystemSyncJs get filesystem() native "return this.filesystem;"; | 4 final _DOMFileSystemSyncJs filesystem; |
5 | 5 |
6 String get fullPath() native "return this.fullPath;"; | 6 final String fullPath; |
7 | 7 |
8 bool get isDirectory() native "return this.isDirectory;"; | 8 final bool isDirectory; |
9 | 9 |
10 bool get isFile() native "return this.isFile;"; | 10 final bool isFile; |
11 | 11 |
12 String get name() native "return this.name;"; | 12 final String name; |
13 | 13 |
14 _EntrySyncJs copyTo(_DirectoryEntrySyncJs parent, String name) native; | 14 _EntrySyncJs copyTo(_DirectoryEntrySyncJs parent, String name) native; |
15 | 15 |
16 _MetadataJs getMetadata() native; | 16 _MetadataJs getMetadata() native; |
17 | 17 |
18 _DirectoryEntrySyncJs getParent() native; | 18 _DirectoryEntrySyncJs getParent() native; |
19 | 19 |
20 _EntrySyncJs moveTo(_DirectoryEntrySyncJs parent, String name) native; | 20 _EntrySyncJs moveTo(_DirectoryEntrySyncJs parent, String name) native; |
21 | 21 |
22 void remove() native; | 22 void remove() native; |
23 | 23 |
24 String toURL() native; | 24 String toURL() native; |
25 } | 25 } |
OLD | NEW |