-
- Downloads
SQUASHME: yamlcache: hide key calculation and fix public/private
Previously, key calculation had to be done manually, creating unnecessary boilerplate. This has now been subsumed into YamlCache.get and YamlCache.put (Yamlcache._get and Yamlcache._put_from_key exist for old behaviour). YamlCache.write is now private. Private methods have been put at the end of the class.
Showing
- buildstream/_loader/loader.py 12 additions, 13 deletionsbuildstream/_loader/loader.py
- buildstream/_yaml.py 2 additions, 3 deletionsbuildstream/_yaml.py
- buildstream/_yamlcache.py 146 additions, 71 deletionsbuildstream/_yamlcache.py
- tests/frontend/yamlcache.py 3 additions, 10 deletionstests/frontend/yamlcache.py
Loading
Please register or sign in to comment