MCPcopy Index your code
hub / github.com/triton-inference-server/server / cpdir

Method cpdir

build.py:239–240  ·  view source on GitHub ↗
(self, src, dest)

Source from the content-addressed store, hash-verified

237 self.cmd(f"rm -fr {pathlib.Path(path)}")
238
239 def cpdir(self, src, dest):
240 self.cmd(f"cp -r {src} {dest}")
241
242 def tar(self, subdir, tar_filename):
243 self.cmd(f"tar zcf {tar_filename} {subdir}")

Callers 6

core_buildFunction · 0.80
backend_buildFunction · 0.80
backend_cloneFunction · 0.80
repo_agent_buildFunction · 0.80
cache_buildFunction · 0.80
cibase_buildFunction · 0.80

Calls 1

cmdMethod · 0.95

Tested by

no test coverage detected