Skip to main content

docs_tree

Function docs_tree 

Source
pub fn docs_tree(
    store: &Store,
    repo_id: &str,
    path: Option<&str>,
    depth: Option<i64>,
    limit: Option<i64>,
    cursor: Option<&str>,
    budget_tokens: Option<usize>,
) -> Result<Value>
Expand description

§2 docs_tree: { prefix, depth, total, entries, truncated, cursor }. The tree is built over the storage form and rooted on the way out, so the prefix (/ for the root), the entries and the cursor all speak the reference form (§1 “Paths”).