Skip to main content

readdir_with_options

Function readdir_with_options 

Source
pub async fn readdir_with_options(
    path: &str,
    options: Object,
) -> Result<JsValue, JsValue>
Expand description

Asynchronously reads the contents of the directory at path, applying the given options (e.g. withFileTypes, recursive, encoding).