mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update github.com/hashicorp/hcl/v2 to v2.19.1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
6
vendor/github.com/zclconf/go-cty/cty/set_helper.go
generated
vendored
6
vendor/github.com/zclconf/go-cty/cty/set_helper.go
generated
vendored
@ -21,15 +21,15 @@ type ValueSet struct {
|
||||
// ValueSet is just a thin wrapper around a set.Set with our value-oriented
|
||||
// "rules" applied. We do this so that the caller can work in terms of
|
||||
// cty.Value objects even though the set internals use the raw values.
|
||||
s set.Set
|
||||
s set.Set[interface{}]
|
||||
}
|
||||
|
||||
// NewValueSet creates and returns a new ValueSet with the given element type.
|
||||
func NewValueSet(ety Type) ValueSet {
|
||||
return newValueSet(set.NewSet(setRules{Type: ety}))
|
||||
return newValueSet(set.NewSet(newSetRules(ety)))
|
||||
}
|
||||
|
||||
func newValueSet(s set.Set) ValueSet {
|
||||
func newValueSet(s set.Set[interface{}]) ValueSet {
|
||||
return ValueSet{
|
||||
s: s,
|
||||
}
|
||||
|
Reference in New Issue
Block a user