f753974bb3
Previously we had a "getProvider" function type used to implement plugin fetching. Here we replace that with an interface type, initially with just a "Get" function. For now this just simplifies the interface by allowing the target directory and protocol version to be members of the struct rather than passed as arguments. A later change will extend this interface to also include a method to purge unused plugins, so that upgrading frequently doesn't leave behind a trail of unused executable files. |
||
---|---|---|
.. | ||
test-fixtures | ||
find.go | ||
find_test.go | ||
get.go | ||
get_test.go | ||
meta.go | ||
meta_set.go | ||
meta_set_test.go | ||
meta_test.go | ||
requirements.go | ||
requirements_test.go | ||
version.go | ||
version_set.go | ||
version_set_test.go | ||
version_test.go |