James Bardin
35307d5a60
Add remote state locking
...
In order to provide lockign for remote states, the Cache state,
remote.State need to expose Lock and Unlock methods. The actual locking
will be done by the remote.Client, which can implement the same
state.Locker methods.
2017-01-30 17:16:57 -05:00
David Tolnay
ff80e7b245
Allow refresh of local state with no resources
2016-06-24 21:54:43 -07:00
Mitchell Hashimoto
1fac7b6488
state: cache should use State.Equal to check equality
...
reflect.DeepEqual was returning false, sometimes.
2015-04-07 15:03:04 -07:00
Mitchell Hashimoto
cc8e6b6331
state: deep copies are required
2015-02-23 21:36:58 -08:00
Mitchell Hashimoto
c2bf600603
state: only change serial if changed
2015-02-23 21:26:33 -08:00
Mitchell Hashimoto
f2c6c12535
command/pull: remove remote package
2015-02-23 15:13:55 -08:00
Mitchell Hashimoto
66bace35e5
state: add strings for cache refresh result
2015-02-23 15:13:53 -08:00
Mitchell Hashimoto
6ec1b2b455
state: cache state test
2015-02-23 15:13:53 -08:00
Mitchell Hashimoto
1f7ddc30fe
state: a bunch of state stuff
2015-02-23 15:13:53 -08:00