MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / versionChildren

Method versionChildren

scripts/extdependency.py:194–201  ·  view source on GitHub ↗

Returns a set of the dependencies of a version. Throws an exception if the version is not in the graph.

(self, version)

Source from the content-addressed store, hash-verified

192 return set(self.graph.descendants(extension))
193
194 def versionChildren(self, version):
195 """Returns a set of the dependencies of a version.
196 Throws an exception if the version is not in the graph."""
197
198 if version not in self.versions:
199 raise Exception(f'Version {version} not found in XML!')
200
201 return set(self.graph.descendants(version))
202
203
204# Test script

Callers

nothing calls this directly

Calls 1

descendantsMethod · 0.80

Tested by

no test coverage detected