6621501ae3
Most of the state package has been deprecated by the states package. This PR replaces all the references to the old state package that can be done simply - the low-hanging fruit. * states: move state.Locker to statemgr The state.Locker interface was a wrapper around a statemgr.Full, so moving this was relatively straightforward. * command: remove unnecessary use of state package for writing local terraform state files * move state.LocalState into terraform package state.LocalState is responsible for managing terraform.States, so it made sense (to me) to move it into the terraform package. * slight change of heart: move state.LocalState into clistate instead of terraform |
||
---|---|---|
.. | ||
testdata | ||
doc.go | ||
filesystem.go | ||
filesystem_lock_unix.go | ||
filesystem_lock_windows.go | ||
filesystem_test.go | ||
helper.go | ||
lineage.go | ||
lock.go | ||
lock_test.go | ||
locker.go | ||
migrate.go | ||
migrate_test.go | ||
persistent.go | ||
plan.go | ||
snapshotmetarel_string.go | ||
statemgr.go | ||
statemgr_fake.go | ||
statemgr_test.go | ||
testing.go | ||
transient.go | ||
transient_inmem.go |