pub fn latest(dir: &Path) -> Result<Option<PathBuf>, String>
The latest checkpoint in dir, if any.
dir