summaryrefslogtreecommitdiffstats
path: root/crates/common/src/types.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2024-04-12 19:34:13 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2024-04-13 20:07:55 +0200
commit6f11f3f247d8949401cd0afb676198b439053740 (patch)
treef3d244a97885e22f5a678f937ad44789aa5fb0d5 /crates/common/src/types.rs
parent35e0cd907a89b751637f71ce910950a8a8865fe0 (diff)
downloadrebel-6f11f3f247d8949401cd0afb676198b439053740.tar
rebel-6f11f3f247d8949401cd0afb676198b439053740.zip
Replace 'inherit' recipe field with 'parent'
All occurrences of 'inherit' in the code are replaced with 'parent' or 'ancestors'.
Diffstat (limited to 'crates/common/src/types.rs')
-rw-r--r--crates/common/src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/common/src/types.rs b/crates/common/src/types.rs
index 32b9182..a5d6678 100644
--- a/crates/common/src/types.rs
+++ b/crates/common/src/types.rs
@@ -39,7 +39,7 @@ pub struct Task {
pub command: String,
pub workdir: String,
pub rootfs: ArchiveHash,
- pub inherit: Vec<LayerHash>,
+ pub ancestors: Vec<LayerHash>,
pub depends: HashSet<Dependency>,
pub outputs: HashMap<String, String>,
pub pins: HashMap<ArchiveHash, String>,