opentofu/internal/providercache
Martin Atkins ff55e1a1cd internal/providercache: installFromLocalDir
We previously skipped this one because it wasn't strictly necessary for
replicating the old "terraform init" behavior, but we do need it to work
so that things like the -plugin-dir option can behave correctly.

Linking packages from other cache directories and installing from unpacked
directories are fundamentally the same operation because a cache directory
is really just a collection of unpacked packages, so here we refactor
the LinkFromOtherCache functionality to actually be in
installFromLocalDir, and LinkFromOtherCache becomes a wrapper for
the installFromLocalDir function that just calculates the source and
target directories automatically and invalidates the metaCache.
2020-04-06 09:24:23 -07:00
..
testdata/cachedir internal/providercache: add windows test fixture 2020-03-25 13:50:00 -07:00
cached_provider_test.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
cached_provider.go internal/providercache: Hashing of contents of cached packages 2020-04-06 09:24:23 -07:00
dir_modify_test.go internal/providercache: LinkFromOtherCache removes target, not source 2020-03-25 13:50:00 -07:00
dir_modify.go internal/providercache: installFromLocalDir 2020-04-06 09:24:23 -07:00
dir_test.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
dir.go internal/{getproviders,providercache}: improved trace logging 2020-03-25 13:50:00 -07:00
doc.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
installer_events.go internal/providercache: Installer records its selections in a file 2020-04-06 09:24:23 -07:00
installer.go internal/providercache: Installer records its selections in a file 2020-04-06 09:24:23 -07:00
lock_file.go internal/providercache: Fix positions on selections file/dir 2020-04-06 09:24:23 -07:00
package_install.go internal/providercache: installFromLocalDir 2020-04-06 09:24:23 -07:00