MCPcopy Create free account
hub / github.com/MegEngine/MegCC / copy2target

Function copy2target

script/test_model.py:79–81  ·  view source on GitHub ↗
(host, workdir, origin_path)

Source from the content-addressed store, hash-verified

77
78
79def copy2target(host, workdir, origin_path):
80 return subprocess.check_call(
81 ["rsync", "-aP", "-zz", origin_path, host + ":" + workdir])
82
83
84def copyftarget(host, workdir, origin_path):

Callers 1

auto_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected