Skip to main content

bundle_path

Function bundle_path 

Source
pub fn bundle_path(declared: &str) -> Result<PathBuf>
Expand description

Read a path a bundle manifest declares, such as ./skills/review, as a clean path inside the bundle. . is the bundle’s root.

§Errors

Returns a refusal for an absolute path or one that climbs out.