Assumes any tree with a prefix in from is mirrored under to.
For example, if from == Seq("https://a.com/artifacts", "https://artifacts.b.com"),
and to == "https://mirror.c.com/maven"
it is assumed "https://a.com/artifacts/a/b/c" also exists at "https://mirror.c.com/maven/a/b/c",
and "https://artifacts.b.com/foo/e/f/g" also exists at "https://mirror.c.com/maven/foo/e/f/g".
Assumes any tree with a prefix in
from
is mirrored underto
.For example, if
from == Seq("https://a.com/artifacts", "https://artifacts.b.com")
, andto == "https://mirror.c.com/maven"
it is assumed"https://a.com/artifacts/a/b/c"
also exists at"https://mirror.c.com/maven/a/b/c"
, and"https://artifacts.b.com/foo/e/f/g"
also exists at"https://mirror.c.com/maven/foo/e/f/g"
.