src/pylib/Lib/os_impl/walkImpl

Source   Edit  

Types

OnErrorCb = proc (e: ref OSError)
Source   Edit  
WalkRes[T] = distinct WalkTup[T]
Source   Edit  

Procs

proc walk[T](top: PathLike[T]; topdown = True; onerror = None;
             followlinks = False): WalkIterator[T]
Source   Edit  
proc walk[T](top: PathLike[T]; topdown = True; onerror = shallIgnore;
             followlinks = False): WalkIterator[T]
Source   Edit  

Iterators

iterator walk[T](top: PathLike[T]; topdown = True; onerror = None;
                 followlinks = False): WalkRes[T]
Source   Edit  
iterator walk[T](top: PathLike[T]; topdown = True; onerror = shallIgnore;
                 followlinks = False): WalkRes[T]
Source   Edit  

Converters

converter toTup[T](self: WalkRes[T]): WalkTup[T]
converts to tuple[T, list[T], list[T]] Source   Edit  

Templates

template `$`[T](self: WalkRes[T]): string
Source   Edit  
template `[]`[T](self: WalkRes[T]; i: static int): untyped
Source   Edit  
template repr[T](self: WalkRes[T]): string
returns (xx, [xx], [xx]) as Python's Source   Edit