]> git.proxmox.com Git - cargo.git/commit - src/cargo/sources/path.rs
Merge the get/download methods on the Source trait
authorAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 21:49:14 +0000 (13:49 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 19 Feb 2016 21:53:08 +0000 (13:53 -0800)
commit9cf705172fd6914185a4fbe1c969443942931784
treebb0f00af3efc5d6eaeda8d193b41131bbc08028e
parentc0247431290955082f2df8056a70804aa51636d9
Merge the get/download methods on the Source trait

Nothing currently implements the ability to more efficiently download a set of
packages at any one point in time, and the download/get distinction isn't really
used at all. We can always refactor later, but currently there's no benefit, nor
can it really be seen what the possible benefit is, so let's just merge these
two methods into one and have them operate on one id at a time.
src/cargo/core/registry.rs
src/cargo/core/source.rs
src/cargo/ops/cargo_install.rs
src/cargo/sources/git/source.rs
src/cargo/sources/path.rs
src/cargo/sources/registry.rs