MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / _copy

Function _copy

tests/e2e/conftest.py:102–108  ·  view source on GitHub ↗
(container_id: str, src: Path, dest: str = CONTAINER_WORKDIR + "/")

Source from the content-addressed store, hash-verified

100@pytest.fixture
101def copy_to_container():
102 def _copy(container_id: str, src: Path, dest: str = CONTAINER_WORKDIR + "/"):
103 subprocess.run(
104 ["docker", "cp", str(src), f"{container_id}:{dest}"],
105 capture_output=True,
106 text=True,
107 check=True,
108 )
109
110 return _copy
111

Callers

nothing calls this directly

Calls 1

runMethod · 0.80

Tested by

no test coverage detected