pub fn archive(dir: &Path, id: u64) -> Result<bool, String>
Archive a loop (similar to resolve but distinguishable).