Skip to main content

install_entry

Function install_entry 

Source
pub fn install_entry(
    entry: &Entry,
    target: &InstallTarget,
    repo_root: &Path,
    opts: Option<&InstallOptions>,
) -> Result<(), SkillfileError>
Expand description

Deploy one entry to its installed path via the platform adapter.

The adapter owns all platform-specific logic (target dirs, flat vs. nested). This function handles cross-cutting concerns: source resolution, missing-source warnings, and patch application.

Returns Err(PatchConflict) if a stored patch fails to apply cleanly.