MCPcopy
hub / github.com/mitmproxy/mitmproxy / fcol

Function fcol

mitmproxy/tools/console/common.py:89–91  ·  view source on GitHub ↗
(s: str, attr: str)

Source from the content-addressed store, hash-verified

87
88
89def fcol(s: str, attr: str) -> tuple[str, int, urwid.Text]:
90 s = str(s)
91 return ("fixed", len(s), urwid.Text([(attr, s)]))
92
93
94if urwid.util.detected_encoding:

Callers 4

format_http_flow_listFunction · 0.85
format_http_flow_tableFunction · 0.85
format_message_flowFunction · 0.85
format_dns_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…