Working through test cases

There are still gaps to be found based on various combinations of crazy references.

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-10-30 10:03:02 -04:00
parent 3ee631c748
commit d8dfafd0a4
9 changed files with 167 additions and 39 deletions

View File

@@ -44,6 +44,7 @@ func (index *SpecIndex) FindComponent(componentId string) *Reference {
// root search
return index.FindComponentInRoot(componentId)
}
return nil
}
func FindComponent(root *yaml.Node, componentId, absoluteFilePath string, index *SpecIndex) *Reference {