MCPcopy Create free account
hub / github.com/OpenCCU/OpenCCU / copy

Function copy

buildroot-external/scripts/kconfiglib.py:6436–6439  ·  view source on GitHub ↗
(src, dst)

Source from the content-addressed store, hash-verified

6434 # See write_config()
6435
6436 def copy(src, dst):
6437 # Import as needed, to save some startup time
6438 import shutil
6439 shutil.copyfile(src, dst)
6440
6441 if islink(path):
6442 # Preserve symlinks

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected