Skip to main content

apply_unix_path_cleanup

Function apply_unix_path_cleanup 

Source
pub fn apply_unix_path_cleanup(
    rc_path: &Path,
    prefix: &str,
) -> Result<PathCleanupResult>
Expand description

Read an rc file, strip the AtomCode installer block targeting prefix, write a .atomcode-uninstall.bak next to it, then write the cleaned file. No-op (returns modified=false) if the file is missing or no block found.