Skip to main content

preload

Function preload 

Source
pub fn preload(h: &Htl, root: &Path) -> Result<()>
Expand description

Register what this crate provides on a fresh Htl: the Rust store module opened on root, htl’s own native modules as require("std.*"), the dependency as require("htlx.list"), then the Teal modules as require("cardbox.find"), require("cardbox.alias"), require("cardbox.prune"), require("cardbox.cards"), require("cardbox") and require("cardbox.cli").