Cleaned up tags logic for what-changed feature.

Using new generic functions
This commit is contained in:
Dave Shanley
2022-10-01 12:40:30 -04:00
parent ba37ca4e29
commit 3d0fe1cc2e
5 changed files with 71 additions and 53 deletions

View File

@@ -31,6 +31,7 @@ func (ex *ExternalDoc) Build(root *yaml.Node, idx *index.SpecIndex) error {
return nil
}
// GetExtensions returns all ExternalDoc extensions and satisfies the low.HasExtensions interface.
func (ex *ExternalDoc) GetExtensions() map[low.KeyReference[string]]low.ValueReference[any] {
if ex == nil {
return nil