Skip to main content

Module fs

Module fs 

Source
Expand description

The fs builder: the base graph. Emits a node per entry, 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 entries. Each entry becomes a bare-path node carrying its type (file, symlink, or directory); each symlink also contributes an edge to its resolved target within the graph root. Directory nodes carry no edge โ€” containment is implicit in path structure.