diff options
author | Jürg Billeter <j@bitron.ch> | 2017-12-21 17:10:56 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-01-12 11:21:57 +0100 |
commit | bc492fa8f3973367c3817c84064629f3975b22bd (patch) | |
tree | 1947c66bfb0f2440b3183fda2209af739d14aa75 /BuildStream.doap | |
parent | 170a9d469a36337990a324d4be2b5c42306b1b13 (diff) | |
download | buildstream-bc492fa8f3973367c3817c84064629f3975b22bd.tar.gz |
Use explicit element state updates
This adds the _update_state() method to the Element class to keep track
of element state and avoid calculating the same cache key multiple
times. This also consolidates the different get_cache_key
methods into a single method that always returns the cache key
calculated by _update_state(), if available.
Fixes #149, #173
Diffstat (limited to 'BuildStream.doap')
0 files changed, 0 insertions, 0 deletions