getApiFileForRef method

File getApiFileForRef(
  1. String repoPath,
  2. String ref
)

Gets the path for an API file cached for a specific git ref

Implementation

File getApiFileForRef(String repoPath, String ref) {
  final repoCacheDir = getRepositoryCacheDir(repoPath);
  return File(join(repoCacheDir.path, '${ref}_api.json'));
}