# oswalkdir

- Manual
- Standard library
- Index

Search:
Group by:

Compile-time only version for walkDir if you need it at compile-time for JavaScript.

# Types

    PathComponent = enum
      pcFile,                     ## path refers to a file
      pcLinkToFile,               ## path refers to a symbolic link to a file
      pcDir,                      ## path refers to a directory
      pcLinkToDir                 ## path refers to a symbolic link to a directory

  Enumeration specifying a path component. Source Edit

# Iterators

    iterator walkDir(dir: string; relative = false): tuple[kind: PathComponent, path: string] {...}{.
        raises: [], tags: [].}

  Source Edit

    iterator walkDirRec(dir: string; filter = {pcFile, pcDir}): string {...}{.raises: [], tags: [].}

  Source Edit