Skip to main content

deregister_in

Function deregister_in 

Source
pub fn deregister_in(
    cache_dir: &Path,
    project_root: &Path,
    phase: PhaseId,
) -> Result<(), RegistryError>
Expand description

Remove the entry file for (project_root, phase), if present. With the per-file storage shape this is a single remove_file on entry_path_in — no load, no rewrite, and therefore no way to disturb a sibling entry belonging to another phase or another root. A missing file (never registered, or already deregistered) is treated as success rather than an error.