MCPcopy
hub / github.com/mitmproxy/mitmproxy / pack

Method pack

mitmproxy/tools/console/common.py:178–179  ·  view source on GitHub ↗
(self, size, focus=False)

Source from the content-addressed store, hash-verified

176 super().__init__()
177
178 def pack(self, size, focus=False):
179 return (len(self.text), 1)
180
181 def rows(self, size, focus=False):
182 return 1

Callers 15

test_https_record_echMethod · 0.80
test__view_dns.pyFile · 0.80
test_packFunction · 0.80
test_unpackMethod · 0.80
test_packMethod · 0.80
test_strip_echMethod · 0.80
test_strip_alpnMethod · 0.80
domain_nameMethod · 0.80
https_alpnMethod · 0.80
https_echMethod · 0.80

Calls

no outgoing calls

Tested by 8

test_https_record_echMethod · 0.64
test_packFunction · 0.64
test_unpackMethod · 0.64
test_packMethod · 0.64
test_strip_echMethod · 0.64
test_strip_alpnMethod · 0.64