Skip to main content

load

Function load 

Source
pub async fn load(
    rt: &KhiveRuntime,
    tree_ref: &str,
) -> Result<Vec<TreeEntry>, RuntimeError>
Expand description

Load a whole tree by reference. An unknown reference or a non-manifest object is an error naming the reference, and so is a scoped tree: a caller of this function reads the entries as the whole tree, and a scoped tree read that way loses every path outside its scope.