Skip to main content

remove_template

Function remove_template 

Source
pub fn remove_template(repo: &Path, template: &Path) -> Result<()>
Expand description

Remove template, its registration in repo, and the lock, stamp and staging files next to it. Call it only when no add or warm on this template can run: one waiting for the lock would get a deleted file, and the next caller a new one