Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ read_input
Function
read_input
dpdk/buildtools/pmdinfogen.py:232–236 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
230
231
232
def
read_input(path):
233
if
path ==
"-"
:
234
return
sys.stdin.buffer.read()
235
with
open(path,
"rb"
)
as
file:
236
return
file.read()
237
238
239
def
load_image(fmt, path):
Callers
1
load_image
Function · 0.85
Calls
1
read
Method · 0.45
Tested by
no test coverage detected