opentofu/state
James Bardin 08cff7cc13 have LocalState check Lock ID on Unlock
Have LocalState store and check the lock ID, and strictly enforce
unlocking with the correct ID.

This isn't required for local lock correctness, as we track the file
descriptor to unlock, but it does provide a varification that locking
and unlocking is done correctly throughout terraform.
2017-02-15 14:41:55 -05:00
..
remote Store and use the correct IDs in TestRemoteLocks 2017-02-15 14:41:55 -05:00
testdata Use NewLockInfo to get a pre-populated value 2017-02-15 14:41:55 -05:00
backup_test.go state: backup state 2015-02-23 15:13:54 -08:00
backup.go Update the state.Locker interface 2017-02-15 14:41:55 -05:00
inmem_test.go state: InmemState 2015-02-23 15:13:55 -08:00
inmem.go state: deep copies are required 2015-02-23 21:36:58 -08:00
local_lock_unix.go Switch from Path to PathOut on LocalState.written 2017-01-30 17:16:57 -05:00
local_lock_windows.go add msdn link for LockFileEx 2017-02-01 12:38:10 -05:00
local_test.go have LocalState check Lock ID on Unlock 2017-02-15 14:41:55 -05:00
local.go have LocalState check Lock ID on Unlock 2017-02-15 14:41:55 -05:00
state_test.go Use NewLockInfo to get a pre-populated value 2017-02-15 14:41:55 -05:00
state.go Use NewLockInfo to get a pre-populated value 2017-02-15 14:41:55 -05:00
testing.go Fix vet issues 2016-10-18 11:11:12 -04:00