diff options
Diffstat (limited to 'morphlib/artifact.py')
-rw-r--r-- | morphlib/artifact.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/morphlib/artifact.py b/morphlib/artifact.py index 82680709..2f9c65df 100644 --- a/morphlib/artifact.py +++ b/morphlib/artifact.py @@ -24,6 +24,7 @@ class Artifact(object): * ``name`` -- the name of the artifact * ``cache_key`` -- a cache key to uniquely identify the artifact * ``cache_id`` -- a dict describing the components of the cache key + * ``contents`` -- a list of the installed files or chunks in the artifact * ``dependencies`` -- list of Artifacts that need to be built beforehand * ``dependents`` -- list of Artifacts that need this Artifact to be built @@ -39,6 +40,7 @@ class Artifact(object): self.cache_key = None self.dependencies = [] self.dependents = [] + self.contents = [] def add_dependency(self, artifact): '''Add ``artifact`` to the dependency list.''' |