MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / first_group

Method first_group

code2flow/model.py:292–300  ·  view source on GitHub ↗

The first group that contains this node. :rtype: Group

(self)

Source from the content-addressed store, hash-verified

290 return f"{self.first_group().filename()}::{self.token_with_ownership()}"
291
292 def first_group(self):
293 """
294 The first group that contains this node.
295 :rtype: Group
296 """
297 parent = self.parent
298 while not isinstance(parent, Group):
299 parent = parent.parent
300 return parent
301
302 def file_group(self):
303 """

Callers 2

nameMethod · 0.95
remove_from_parentMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected