MCPcopy 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
232def 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
239def load_image(fmt, path):

Callers 1

load_imageFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected