MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / findmatch

Function findmatch

Lib/mailcap.py:138–156  ·  view source on GitHub ↗

Find a match for a mailcap entry. Return a tuple containing the command line, and the mailcap entry used; (None, None) if no match is found. This may invoke the 'test' command of several matching entries before deciding which entry to use.

(caps, MIMEtype, key='view', filename="/dev/null", plist=[])

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testFunction · 0.85

Calls 2

substFunction · 0.85
lookupFunction · 0.70

Tested by

no test coverage detected