terraform/internal/initwd
Kristin Laemmert 04be220f5f deprecate helper/copy
helper/copy CopyDir was used heavily in tests. It differes from
internal/copydir in a few ways, the main one being that it creates the
dst directory while the internal version expected the dst to exist
(there are other differences, which is why I did not just switch tests
to using internal's CopyDir).

I moved the CopyDir func from helper/copy into command_test.go; I could
also have moved it into internal/copy and named it something like
CreateDirAndCopy so if that seems like a better option please let me
know.

helper/copy/CopyFile was used in a couple of spots so I moved it into
internal, at which point I thought it made more sense to rename the
package copy (instead of copydir).

There's also a `go mod tidy` included.
2020-10-08 08:42:16 -04:00
..
testdata Standardise directory name for test data 2019-06-30 10:16:15 +02:00
doc.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
from_module.go deprecate helper/copy 2020-10-08 08:42:16 -04:00
from_module_test.go deprecate helper/copy 2020-10-08 08:42:16 -04:00
getter.go deprecate helper/copy 2020-10-08 08:42:16 -04:00
load_config.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00
module_install.go registry: configurable retry client 2020-02-14 13:29:00 -06:00
module_install_hooks.go Move module install functionality over to internal/initwd 2019-01-14 11:33:21 -08:00
module_install_test.go deprecate helper/copy 2020-10-08 08:42:16 -04:00
testing.go command: "terraform init" can partially initialize for 0.12upgrade 2019-01-14 11:33:21 -08:00