Skip to content

Commit

Permalink
Update pkg/sif/create.go
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Hughes <[email protected]>

Signed-off-by: Dave Dykstra <[email protected]>
  • Loading branch information
wobito authored and DrDaveD committed Sep 18, 2023
1 parent 963afff commit aebc0db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/sif/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,11 @@ func (f *FileImage) SetPrimPart(id uint32, opts ...SetOpt) error {
return nil
}

// SetMetadata writes the mutated descriptors and returns an error if any.
// SetMetadata the metadata of the data object with id to md, according to opts.
//
// By default, the image/object modification times are set to the current time for
// non-deterministic images, and unset otherwise. To override this, consider using
// OptSetDeterministic or OptSetWithTime.
func (f *FileImage) SetMetadata(id uint32, md encoding.BinaryMarshaler, opts ...SetOpt) error {
so := setOpts{}

Expand Down

0 comments on commit aebc0db

Please sign in to comment.