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

Function _write

cli.py:27–30  ·  view source on GitHub ↗
(path: str, data: bytes)

Source from the content-addressed store, hash-verified

25
26
27def _write(path: str, data: bytes):
28 os.makedirs(os.path.dirname(os.path.abspath(path)), exist_ok=True)
29 with open(path, 'wb') as f:
30 f.write(data)
31
32
33def _make_lsb_plugin(algo: str, bits: int, password: str,

Callers 4

cmd_embedFunction · 0.85
cmd_extractFunction · 0.85
cmd_wm_embedFunction · 0.85
cmd_wm_generate_sigFunction · 0.85

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected