|
@ -1,4 +1,4 @@ |
|
|
%% Vendored from hex_core v0.5.0, do not edit manually |
|
|
|
|
|
|
|
|
%% Vendored from hex_core v0.5.1, do not edit manually |
|
|
|
|
|
|
|
|
-module(r3_hex_repo). |
|
|
-module(r3_hex_repo). |
|
|
-export([ |
|
|
-export([ |
|
@ -161,7 +161,9 @@ tarball_url(Config, Name, Version) -> |
|
|
build_url(#{repo_url := URI, repo_organization := Org}, Path) when is_binary(Org) -> |
|
|
build_url(#{repo_url := URI, repo_organization := Org}, Path) when is_binary(Org) -> |
|
|
<<URI/binary, "/repos/", Org/binary, "/", Path/binary>>; |
|
|
<<URI/binary, "/repos/", Org/binary, "/", Path/binary>>; |
|
|
build_url(#{repo_url := URI, repo_organization := undefined}, Path) -> |
|
|
build_url(#{repo_url := URI, repo_organization := undefined}, Path) -> |
|
|
<<URI/binary, "/", Path/binary>>. |
|
|
|
|
|
|
|
|
<<URI/binary, "/", Path/binary>>; |
|
|
|
|
|
build_url(Config, Path) -> |
|
|
|
|
|
build_url(Config#{repo_organization => undefined}, Path). |
|
|
|
|
|
|
|
|
tarball_filename(Name, Version) -> |
|
|
tarball_filename(Name, Version) -> |
|
|
<<Name/binary, "-", Version/binary, ".tar">>. |
|
|
<<Name/binary, "-", Version/binary, ".tar">>. |
|
|