MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / __init__

Method __init__

src/hyperagent/get_repo_struct.py:15–22  ·  view source on GitHub ↗
(self, path, parent_path, is_last)

Source from the content-addressed store, hash-verified

13 display_parent_prefix_last = '│ '
14
15 def __init__(self, path, parent_path, is_last):
16 self.path = Path(str(path))
17 self.parent = parent_path
18 self.is_last = is_last
19 if self.parent:
20 self.depth = self.parent.depth + 1
21 else:
22 self.depth = 0
23
24 @property
25 def displayname(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected