diff options
author | Tom Pollard <tom.pollard@codethink.co.uk> | 2019-04-09 11:39:51 +0100 |
---|---|---|
committer | Tom Pollard <tom.pollard@codethink.co.uk> | 2019-04-17 16:47:27 +0100 |
commit | 5790aa5b4536c39c97181cb16e5c84465ddd7bbf (patch) | |
tree | 853cffb5df9d1af2a0813a25a9123265676f22b1 /tests/frontend/version.py | |
parent | 6e3e5bf59887712f845b317a4977dd206c7888c4 (diff) | |
download | buildstream-5790aa5b4536c39c97181cb16e5c84465ddd7bbf.tar.gz |
_artifact.py: Move element metadata caching to Artifact Class
As the artifact object now stores keys, it allows for the simplification
of metadata methods. Transitioning the metadata members to Artifact
also means the private accessor methods can be removed from Element
which reduces the overhead of syncing private variables across the
two classes via parameters.
With the key and metadata handling now being internalised within
Artifact, a temporary Artifact for the last_successful incremental
build is created for correctness. This should help guarantee that an
Artifact object is never used to access different artifacts.
Diffstat (limited to 'tests/frontend/version.py')
0 files changed, 0 insertions, 0 deletions