mod state;
#[cfg(unix)]
mod unix;
#[cfg(windows)]
mod windows;
use std::fs;
pub use state::{Async, AsyncWalkDir, AsyncWalker};
pub type AsyncDirEntry = crate::DirEntry<Async>;
use crate::{DirEntry, Error, Result};
impl DirEntry<Async> {
pub async fn metadata(&self) -> Result<fs::Metadata, Error> {
self.metadata_impl().await
}
pub async fn is_hidden(&self) -> bool {
self.is_hidden_impl().await
}
}