Skip to main content

Module content_graph

Module content_graph 

Source
Expand description

In-memory index of content files for fuzzy path resolution.

ContentGraph is the read-only query structure built by ContentGraphBuilder. It supports Obsidian-style fuzzy path resolution: exact path, filename-only, folder notes, and ambiguity tiebreaking by longest common directory prefix.

Pure Rust, zero I/O.

Structs§

ContentGraph
An in-memory index of all content files.
ContentGraphBuilder
Incrementally builds a ContentGraph.

Functions§

generate_slug
Generate a URL slug from a relative file path.