MCPcopy
hub / github.com/mitmproxy/mitmproxy / addToken

Method addToken

mitmproxy/contrib/wbxml/ASWBXMLCodePage.py:37–39  ·  view source on GitHub ↗
(self, token, tag)

Source from the content-addressed store, hash-verified

35 self.tagLookup = {}
36
37 def addToken(self, token, tag):
38 self.tokenLookup[token] = tag
39 self.tagLookup[tag] = token
40
41 def getToken(self, tag):
42 if tag in self.tagLookup:

Callers 2

__init__Method · 0.95
elasticlunr.min.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected