MCPcopy Create free account
hub / github.com/AnswerDotAI/gpu.cpp / copy_file

Function copy_file

examples/shadertui/script.py:24–31  ·  view source on GitHub ↗
(src, dst)

Source from the content-addressed store, hash-verified

22
23
24def copy_file(src, dst):
25 try:
26 shutil.copy(src, dst)
27 print(f"Copied {src} to {dst}")
28 except IOError as e:
29 print(f"Unable to copy file. {e}")
30 except:
31 print("Unexpected error:", sys.exc_info())
32
33
34if __name__ == "__main__":

Callers 1

script.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected