anchor.diff:              {bad_checksum, CachePath}
       end.
   
  +-spec serve_from_download(TmpDir, CachePath, Package, ETag, Binary, State, ETagPath) -> Res when
  +      TmpDir :: file:name(),
  +      CachePath :: file:name(),
  +      Package :: {pkg, Name :: binary(), Vsn :: binary(), Hash :: binary()},
  +      ETag :: string(),
  +      Binary :: binary(),
  +      State :: rebar_state:t(),
  +      ETagPath :: file:name(),
  +      Res :: download_result().
   serve_from_download(TmpDir, CachePath, Package, ETag, Binary, State, ETagPath) ->
       ?DEBUG("Writing ~p to cache at ~ts", [Package, CachePath]),
       file:write_file(CachePath, Binary),
  
positive.code:             {bad_download, CachePath}
      end.
  
  extract(TmpDir, CachePath) ->
      ec_file:mkdir_p(TmpDir),
      {ok, Files} = erl_tar:extract(CachePath, [memory]),
  
negative.code:             ssl_verify_enabled
      end.
  
  -spec parse_vsn(Vsn) -> Res when
        Vsn :: string(),
        Res :: {integer(), integer(), integer()}.
  parse_vsn(Vsn) ->
      version_pad(rebar_string:lexemes(Vsn, ".-")).
  
  -spec version_pad(list(nonempty_string())) -> Res when
        Res :: {integer(), integer(), integer()}.
  version_pad([Major]) ->
      {list_to_integer(Major), 0, 0};
  version_pad([Major, Minor]) ->
  