model.findPackages

model.findPackages(node, regexes)

Traverses from the node, which must be a Host or a directly discovered data node, and returns a set of all Package nodes that have names matching the provided list of regular expressions. This is commonly required when versioning products based on installed packages. Returns an empty set if the node was not of a suitable kind, or no matching packages were found.

Was this page helpful? Yes No Submitting... Thank you

Comments