Skip to main content

docs

Function docs 

Source
pub fn docs(
    c: &Corpus,
    g: &Graph,
    w: Wants,
    budget: Option<usize>,
    only: &[usize],
) -> Value
Expand description

The documents in only with what w asks for; link spans are byte ranges in the body. Past budget bytes, bodies go as body_path for the plugin to read. A reference to a document left out is sent unresolved (reason: "not exported") so nothing about it reaches the plugin.