Skip to main content

build_graph

Function build_graph 

Source
pub fn build_graph(root: &Path, config: &Config) -> Result<Graph>
Expand description

Build a graph from files in root.

  1. Discover included nodes via include/exclude — hash raw bytes.
  2. Run parsers to extract links.
  3. Create referenced nodes for all edge targets not already in the graph.
  4. Create filesystem edges for symlinks.