Skip to main content

Module fs

Module fs 

Source
Expand description

The fs source: a .gitignore-aware filesystem walk that yields one SourceFile per file under the graph root.

Structs§

SourceFile
A file delivered by a source: its graph-relative path and, when read, its raw bytes.

Functions§

walk
Walk the tree under root, honoring .gitignore and the ignore globs, yielding one SourceFile per file. Paths are relative to root, sorted.