Skip to main content

install

Function install 

Source
pub fn install(request: &InstallRequest) -> Result<InstallReport, HookError>
Expand description

Installs or updates one host integration with atomic, marker-scoped writes.

Existing host configuration is merged rather than replaced. A timestamped backup is created before each changed existing file. Repeating an identical installation is a no-op.

ยงErrors

Returns HookError for invalid roots or host configuration and for failed filesystem, serialization, backup, or atomic-write operations.