hasApiFile method

bool hasApiFile(
  1. String repoPath,
  2. String ref
)

Checks if API documentation exists for a specific git ref

Implementation

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