# std/private/globs

Theme:

- Manual
- Standard library
- Index
- Compiler docs
- Fusion docs
- devel, stable

Search:
Source Edit

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: [], forbids: [].}

  Source Edit

# Iterators

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

  Improved `os.walkDirRec`. Source Edit