Method to fetch an Artifact.
Method to fetch an Artifact.
Note that this method tries all the coursier.cache.CachePolicyies of this cache straightaway. During resolutions, you should
prefer to try all repositories for the first policy, then the other policies if needed (in pseudo-code,
for (policy <- policies; repo <- repositories) …
, rather than
for (repo <- repositories, policy <- policies) …
). You should use the fetchs method in that case.
This method computes the task needed to get a file.
This method computes the task needed to get a file.
Sequence of Fetch able to fetch an Artifact.
Sequence of Fetch able to fetch an Artifact.
Each element correspond to a coursier.cache.CachePolicy of this Cache. You may want to pass each of them to
coursier.core.ResolutionProcess.fetch()
.
a non empty sequence