MCPcopy Create free account
hub / github.com/MearaY/StegaPy / _read

Function _read

cli.py:22–24  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

20# ── 工具 ──────────────────────────────────────────────────────────────
21
22def _read(path: str) -> bytes:
23 with open(path, 'rb') as f:
24 return f.read()
25
26
27def _write(path: str, data: bytes):

Callers 4

cmd_embedFunction · 0.85
cmd_extractFunction · 0.85
cmd_wm_embedFunction · 0.85
cmd_wm_verifyFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected