MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / has_children

Method has_children

src/commoncode/resource.py:1464–1468  ·  view source on GitHub ↗

Return True is this Resource has children.

(self)

Source from the content-addressed store, hash-verified

1462 yield child
1463
1464 def has_children(self):
1465 """
1466 Return True is this Resource has children.
1467 """
1468 return bool(self.children_names)
1469
1470 def children(self, codebase, names=()):
1471 """

Callers 3

walkMethod · 0.80
_sorterMethod · 0.80
has_siblingsMethod · 0.80

Calls 1

boolFunction · 0.85

Tested by

no test coverage detected