OnErrorCb = proc (e: ref OSError)
WalkRes[T] = distinct WalkTup[T]
shallIgnore: OnErrorCb = nil
proc walk[T](top: PathLike[T]; topdown = True; onerror = None; followlinks = False): WalkIterator[T]
proc walk[T](top: PathLike[T]; topdown = True; onerror = shallIgnore; followlinks = False): WalkIterator[T]
iterator walk[T](top: PathLike[T]; topdown = True; onerror = None; followlinks = False): WalkRes[T]
iterator walk[T](top: PathLike[T]; topdown = True; onerror = shallIgnore; followlinks = False): WalkRes[T]
converter toTup[T](self: WalkRes[T]): WalkTup[T]
template `$`[T](self: WalkRes[T]): string
template `[]`[T](self: WalkRes[T]; i: static int): untyped
template repr[T](self: WalkRes[T]): string