22#![ allow( clippy:: all) ]
33use super :: * ;
44use wasm_bindgen:: prelude:: * ;
5- #[ cfg( web_sys_unstable_apis) ]
65#[ wasm_bindgen]
76extern "C" {
87 # [ wasm_bindgen ( extends = FileSystemHandle , extends = :: js_sys :: Object , js_name = FileSystemDirectoryHandle , typescript_type = "FileSystemDirectoryHandle" ) ]
@@ -12,101 +11,70 @@ extern "C" {
1211 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle)" ]
1312 #[ doc = "" ]
1413 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*" ]
15- #[ doc = "" ]
16- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
17- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
1814 pub type FileSystemDirectoryHandle ;
19- #[ cfg( web_sys_unstable_apis) ]
2015 # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getDirectoryHandle) ]
2116 #[ doc = "The `getDirectoryHandle()` method." ]
2217 #[ doc = "" ]
2318 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)" ]
2419 #[ doc = "" ]
2520 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*" ]
26- #[ doc = "" ]
27- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
28- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
2921 pub fn get_directory_handle ( this : & FileSystemDirectoryHandle , name : & str ) -> :: js_sys:: Promise ;
30- #[ cfg( web_sys_unstable_apis) ]
3122 #[ cfg( feature = "FileSystemGetDirectoryOptions" ) ]
3223 # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getDirectoryHandle) ]
3324 #[ doc = "The `getDirectoryHandle()` method." ]
3425 #[ doc = "" ]
3526 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getDirectoryHandle)" ]
3627 #[ doc = "" ]
3728 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`, `FileSystemGetDirectoryOptions`*" ]
38- #[ doc = "" ]
39- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
40- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
4129 pub fn get_directory_handle_with_options (
4230 this : & FileSystemDirectoryHandle ,
4331 name : & str ,
4432 options : & FileSystemGetDirectoryOptions ,
4533 ) -> :: js_sys:: Promise ;
46- #[ cfg( web_sys_unstable_apis) ]
4734 # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getFileHandle) ]
4835 #[ doc = "The `getFileHandle()` method." ]
4936 #[ doc = "" ]
5037 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)" ]
5138 #[ doc = "" ]
5239 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*" ]
53- #[ doc = "" ]
54- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
55- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
5640 pub fn get_file_handle ( this : & FileSystemDirectoryHandle , name : & str ) -> :: js_sys:: Promise ;
57- #[ cfg( web_sys_unstable_apis) ]
5841 #[ cfg( feature = "FileSystemGetFileOptions" ) ]
5942 # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryHandle" , js_name = getFileHandle) ]
6043 #[ doc = "The `getFileHandle()` method." ]
6144 #[ doc = "" ]
6245 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/getFileHandle)" ]
6346 #[ doc = "" ]
6447 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`, `FileSystemGetFileOptions`*" ]
65- #[ doc = "" ]
66- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
67- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
6848 pub fn get_file_handle_with_options (
6949 this : & FileSystemDirectoryHandle ,
7050 name : & str ,
7151 options : & FileSystemGetFileOptions ,
7252 ) -> :: js_sys:: Promise ;
73- #[ cfg( web_sys_unstable_apis) ]
7453 # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryHandle" , js_name = removeEntry) ]
7554 #[ doc = "The `removeEntry()` method." ]
7655 #[ doc = "" ]
7756 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/removeEntry)" ]
7857 #[ doc = "" ]
7958 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*" ]
80- #[ doc = "" ]
81- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
82- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
8359 pub fn remove_entry ( this : & FileSystemDirectoryHandle , name : & str ) -> :: js_sys:: Promise ;
84- #[ cfg( web_sys_unstable_apis) ]
8560 #[ cfg( feature = "FileSystemRemoveOptions" ) ]
8661 # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryHandle" , js_name = removeEntry) ]
8762 #[ doc = "The `removeEntry()` method." ]
8863 #[ doc = "" ]
8964 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/removeEntry)" ]
9065 #[ doc = "" ]
9166 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`, `FileSystemRemoveOptions`*" ]
92- #[ doc = "" ]
93- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
94- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
9567 pub fn remove_entry_with_options (
9668 this : & FileSystemDirectoryHandle ,
9769 name : & str ,
9870 options : & FileSystemRemoveOptions ,
9971 ) -> :: js_sys:: Promise ;
100- #[ cfg( web_sys_unstable_apis) ]
10172 # [ wasm_bindgen ( method , structural , js_class = "FileSystemDirectoryHandle" , js_name = resolve) ]
10273 #[ doc = "The `resolve()` method." ]
10374 #[ doc = "" ]
10475 #[ doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle/resolve)" ]
10576 #[ doc = "" ]
10677 #[ doc = "*This API requires the following crate features to be activated: `FileSystemDirectoryHandle`*" ]
107- #[ doc = "" ]
108- #[ doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as" ]
109- #[ doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*" ]
11078 pub fn resolve (
11179 this : & FileSystemDirectoryHandle ,
11280 possible_descendant : & FileSystemHandle ,
0 commit comments