pub fn new<P: AsRef<Path>>(dir: P) -> Result<Self> {
        let inner = std::fs::read_dir(dir).map_err(Error::from_inner)?;

        Ok(Self { inner })
    }
/// Create a new `LocalFileSystemIter` instance that iterates over all files and subdirectories
/// under the specified directory.
Create a new `LocalFileSystemIter` instance that iterates over all files and subdirectories
under the specified directory.
Create a new ` LocalFileSystemIter ` instance that iterates over all files and subdirectories under the specified directory .
pub fn new<P: AsRef<Path>>(dir: P) -> Result<Self> {
        let inner = std::fs::read_dir(dir).map_err(Error::from_inner)?;
        Ok(Self { inner })
    }
pub fn new < P : AsRef < Path > > ( dir : P ) -> Result < Self > { let inner = std :: fs :: read_dir ( dir ) . map_err ( Error :: from_inner ) ? ; Ok ( Self { inner } ) }
Create a new `LocalFileSystemIter` instance that iterates over all files and subdirectories
under the specified directory.
Create a new ` LocalFileSystemIter ` instance that iterates over all files and subdirectories under the specified directory .
dir
P