DirEntry[T] = ref object of DirEntryImpl[T]
func close(scandirIter: ScandirIterator)
func is_dir(self: DirEntry): bool
func is_dir(self: DirEntry; follow_symlinks: bool): bool
func is_file(self: DirEntry): bool
func is_file(self: DirEntry; follow_symlinks: bool): bool
func is_symlink(self: DirEntry): bool
func repr(self: DirEntry): string
proc scandir(): ScandirIterator[PyStr] {....raises: [], tags: [], forbids: [].}
proc scandir[T](path: PathLike[T]): ScandirIterator[T]
func stat(self: DirEntry): stat_result
iterator items[T](scandirIter: ScandirIterator[T]): DirEntry[T]
iterator scandir(): DirEntry[PyStr] {....raises: [FileExistsError, FileNotFoundError, IsADirectoryError, OSError], tags: [ReadDirEffect], forbids: [].}
iterator scandir[T](path: PathLike[T]): DirEntry[T]
iterator scandirIter[T](path: T): DirEntry[T] {.closure.}