(self, struct, text="")
| 119 | |
| 120 | # Bootstrapping methods |
| 121 | def gen(self, struct, text=""): |
| 122 | if isinstance(struct, (str, bytes, pathlib.PurePath)): |
| 123 | struct = {struct: text} |
| 124 | |
| 125 | return self._gen(struct) |
| 126 | |
| 127 | def _gen(self, struct, prefix=None): |
| 128 | paths = [] |