Skip to main content

forwardlinks

Function forwardlinks 

Source
pub fn forwardlinks(
    store: &Store,
    path: &Path,
) -> Result<Vec<PathBuf>, StoreError>
Expand description

Outgoing edges from path: the wiki-link targets extracted from that single file. Loop-fast; follow the evidence chain.

path is the store-relative path of the file to read. Targets are returned as store-relative paths (bare, no .md), deduped and sorted; the file’s links to itself are dropped. A missing file yields an empty list (a dangling seed has no outgoing edges to report — broken-link detection is crate::validate’s job).