Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ have_binary
Function
have_binary
tests/fixtures.py:92–93 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
90
91
def
dumpcap_usable():
92
def
have_binary(name):
93
return
shutil.which(name) is not None
94
95
if
not have_binary(
"dumpcap"
) or not have_binary(
"tshark"
):
96
return
False
Callers
1
dumpcap_usable
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected