Skip to main content

install_within

Function install_within 

Source
pub fn install_within(
    widgets_dir: &Path,
    source: &Path,
    replace: bool,
    root: &Path,
) -> Result<String, String>
Expand description

install for a package a container agent built in its workspace, whose host folder is root: every file is read only if it is inside root. On Unix the copy walks open folders and follows no link (widget::beneath); elsewhere each file is checked as it is opened (see [open_within]).