pub fn build(dir: &Path, b: &Build<'_>) -> Result<Value, String>
Builds the index of b into dir and returns its manifest.
b
dir