diff --git a/src/fs/directory.rs b/src/fs/directory.rs index a6060a3e..cbd33fb5 100644 --- a/src/fs/directory.rs +++ b/src/fs/directory.rs @@ -19,6 +19,7 @@ impl Directory { Directory::default() } + /// Read the contents of a directory. #[wasm_bindgen(js_name = "readDir")] pub async fn read_dir(&self, mut path: String) -> Result { if !path.starts_with('/') {