diff options
Diffstat (limited to 'src/db')
| -rw-r--r-- | src/db/model/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/model/mod.rs b/src/db/model/mod.rs index ba97073..aef6a47 100644 --- a/src/db/model/mod.rs +++ b/src/db/model/mod.rs @@ -53,6 +53,8 @@ pub struct Identity { pub epoch: String, pub pkgver: String, pub pkgrel: String, + // Neither field is read by name anywhere: `hash` renders the whole struct with + // `canonical_json`, so both participate in the identity digest by being here. pub upstream_pins: Vec<UpstreamPin>, pub source_digests: Vec<SourceDigest>, } |
