# globs

Dark Mode

- Manual
- Standard library
- Index
- Compiler docs
- Fusion docs

Search:

unstable API, internal use only for now. this can eventually be moved to std/os and `walkDirRec` can be implemented in terms of this to avoid duplication

# Imports

os, strutils, sugar

# Types

    PathEntry = object
      kind*: PathComponent
      path*: string

  Source Edit

# Procs

    proc nativeToUnixPath(path: string): string {...}{.raises: [], tags: [].}

  Source Edit

# Iterators

    iterator walkDirRecFilter(dir: string;
                              follow: proc (entry: PathEntry): bool = nil;
                              relative = false; checkDir = true): PathEntry {...}{.
        tags: [ReadDirEffect], raises: [OSError].}

  Improved `os.walkDirRec`. Source Edit