terraform/internal
Martin Atkins 6694cfaa0e getproviders: Add a real type Hash for package hashes
The logic for what constitutes a valid hash and how different hash schemes
are represented was starting to get sprawled over many different files and
packages.

Consistently with other cases where we've used named types to gather the
definition of a particular string into a single place and have the Go
compiler help us use it properly, this introduces both getproviders.Hash
representing a hash value and getproviders.HashScheme representing the
idea of a particular hash scheme.

Most of this changeset is updating existing uses of primitive strings to
uses of getproviders.Hash. The new type definitions are in
internal/getproviders/hash.go.
2020-09-24 14:01:54 -07:00
..
copydir internal/copydir: Factor out our recursive directory copy for reuse 2020-03-25 11:29:48 -07:00
depsfile getproviders: Add a real type Hash for package hashes 2020-09-24 14:01:54 -07:00
earlyconfig addrs: ImpliedProviderForUnqualifiedType function 2020-04-06 09:24:23 -07:00
getproviders getproviders: Add a real type Hash for package hashes 2020-09-24 14:01:54 -07:00
initwd internal/initwd: allow tests to pass when $PWD contains symlinks (#26015) 2020-08-27 10:02:22 -04:00
modsdir internal/modsdir: Fix Dropped Error (#24600) 2020-06-04 10:26:26 -04:00
providercache getproviders: Add a real type Hash for package hashes 2020-09-24 14:01:54 -07:00
tfplugin5 Add support for provider metadata to modules. (#22583) 2020-03-05 16:53:24 -08:00