package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev

# Functions

LoadLocksFromBytes reads locks from the given byte array, pretending that it was read from the given filename.
LoadLocksFromFile reads locks from the given file, expecting it to be a valid dependency lock file, or returns error diagnostics explaining why that was not possible.
NewLocks constructs and returns a new Locks object that initially contains no locks at all.
NewProviderLock creates a new ProviderLock object that isn't associated with any Locks object.
ProviderIsLockable returns true if the given provider is eligible for version locking.
SaveLocksToBytes writes the given locks object into a byte array, using the same syntax that LoadLocksFromBytes expects to parse.
SaveLocksToFile writes the given locks object to the given file, entirely replacing any content already in that file, or returns error diagnostics explaining why that was not possible.

# Constants

DevOverrideFilePath is the path, relative to a configuration's root module directory, where Terraform will look to find a possible override file that represents a request to temporarily (within a single working directory only) use specific local directories in place of packages that would normally need to be installed from a remote location.
LockFilePath is the path, relative to a configuration's root module directory, where Terraform expects to find the dependency lock file for that configuration.

# Variables

ProviderLockComparer is an option for github.com/google/go-cmp/cmp that specifies how to compare values of type depsfile.ProviderLock.

# Structs

Locks is the top-level type representing the information retained in a dependency lock file.
ProviderLock represents lock information for a specific provider.