Skip to main content

Module fs

Module fs 

Source
Expand description

The fs builder: the base graph. Emits a node per file, typed by stat, plus a symlink edge per symlink. It does not hash — drft auto-hashes at the wiring seam (see crate::graphs).

Functions§

build
Build the fs graph fragment from walked source files. Each file becomes a bare-path node carrying its type; each symlink also contributes an edge to its resolved target within the graph root.