Skip to main content

uninstall

Function uninstall 

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

Removes only marker-owned content and merges around unrelated host configuration.

Existing files are backed up immediately before a changed merge. Backups are not blindly restored because doing so could discard edits made after installation.

ยงErrors

Returns HookError when host configuration cannot be parsed or a backup, merge, deletion, permission change, or atomic write fails.