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 // WARNING: Do not edit - generated code. | |
6 | |
7 class DirectoryEntrySyncWrappingImplementation extends EntrySyncWrappingImplemen
tation implements DirectoryEntrySync { | |
8 DirectoryEntrySyncWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 DirectoryReaderSync createReader() { | |
11 return LevelDom.wrapDirectoryReaderSync(_ptr.createReader()); | |
12 } | |
13 | |
14 DirectoryEntrySync getDirectory(String path, Flags flags) { | |
15 return LevelDom.wrapDirectoryEntrySync(_ptr.getDirectory(path, LevelDom.unwr
ap(flags))); | |
16 } | |
17 | |
18 FileEntrySync getFile(String path, Flags flags) { | |
19 return LevelDom.wrapFileEntrySync(_ptr.getFile(path, LevelDom.unwrap(flags))
); | |
20 } | |
21 | |
22 void removeRecursively() { | |
23 _ptr.removeRecursively(); | |
24 return; | |
25 } | |
26 } | |
OLD | NEW |