hex_repo.get_tarball

You're seeing just the function get_tarball, go back to hex_repo module for more information.
Link to this function

get_tarball(Config, Name, Version)

View Source

Gets tarball from the repository.

Examples:

  > {ok, {200, _, Tarball}} = hex_repo:get_tarball(hex_core:default_config(), <<"package1">>, <<"1.0.0">>),
  > {ok, #{metadata := Metadata}} = hex_tarball:unpack(Tarball, memory).