MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get

Method get

pager_lib/getmac/getmac.py:450–451  ·  view source on GitHub ↗
(self, arg)

Source from the content-addressed store, hash-verified

448 return check_command("arp")
449
450 def get(self, arg): # type: (str) -> Optional[str]
451 return _search(re.escape(arg) + self._regex, _popen("arp", "-an"))
452
453
454class ArpVariousArgs(Method):

Callers

nothing calls this directly

Calls 3

_searchFunction · 0.85
_popenFunction · 0.85
escapeMethod · 0.80

Tested by

no test coverage detected