readBlobAt method

Future<Uint8List> readBlobAt(
  1. TomGitHubLocator loc,
  2. String locator,
  3. String path,
  4. String sha,
)

One blob, refused when what the tree holds is a Git-LFS pointer.

Both read paths go through here so the check cannot be present on one and absent on the other — which is how a defect of exactly this shape returns. _readBlob for the lazy medium, which is a separate object and so cannot reach a private member.

Implementation

Future<Uint8List> readBlobAt(
  TomGitHubLocator loc,
  String locator,
  String path,
  String sha,
) => _readBlob(loc, locator, path, sha);