pub fn has_repo_data(repo_id: &str) -> Result<bool>
Whether a repository data directory contains anything other than its reusable ownership lock file.