get method

Future<Commit> get(
  1. String sha
)

Implementation

Future<Commit> get(String sha) async {
  final uri = _project.buildUri(['repository', 'commits', '$sha']);

  final json = await _gitLab.request(uri) as Map;

  return new Commit.fromJson(json);
}