(elem: str|FrameInfo)
| 26 | |
| 27 | # ─── indexing helpers ─────────────────────────────────────────── |
| 28 | def _format_stack_entry(elem: str|FrameInfo) -> str: |
| 29 | if not isinstance(elem, str): |
| 30 | if elem.location.lineno == 0 and elem.filename == "": |
| 31 | return f"{elem.funcname}" |
| 32 | else: |
| 33 | return f"{elem.funcname} {elem.filename}:{elem.location.lineno}" |
| 34 | return elem |
| 35 | |
| 36 | |
| 37 | def _index(result): |
no outgoing calls
no test coverage detected
searching dependent graphs…