Closed AdamKorcz closed 3 months ago
Thanks for the contribution @AdamKorcz, would you mind also adding a comment describing this, why it may be useful and any consequences of using this in a real life application?
Thanks for the contribution @AdamKorcz, would you mind also adding a comment describing this, why it may be useful and any consequences of using this in a real life application?
https://github.com/theupdateframework/go-tuf/pull/641/commits/faf9792df89ebd60c16f13d49d22d6ea13868b1d - LMK if it needs more context. I have kept it short to align the description with other methods in the file.
@rdimitrov @trishankatdatadog any thoughts?
I think it's fine w/out get/set? The other fields are lacking this, and I think it's clear with the current design?
This PR exports an API to set the
RefTime
of the trusted metadata of anUpdater
. This is useful for testing time-related cases in the client outside of go-tufs own repository.