bool hasApiFileForRef(String repoPath, String ref) { final apiFile = getApiFileForRef(repoPath, ref); return apiFile.existsSync(); }