Added XML object to what-changed.

Picking off low hanging fruit, before attacking the big, ugly stuff.

Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
Dave Shanley
2022-10-04 07:35:06 -04:00
parent 65fa21be86
commit 07c05ee540
5 changed files with 254 additions and 3 deletions

View File

@@ -28,3 +28,7 @@ func (x *XML) Build(root *yaml.Node, _ *index.SpecIndex) error {
x.Extensions = low.ExtractExtensions(root)
return nil
}
func (x *XML) GetExtensions() map[low.KeyReference[string]]low.ValueReference[any] {
return x.Extensions
}