MCPcopy Create free account
hub / github.com/apache/arrow / copy_file

Method copy_file

python/pyarrow/fs.py:397–400  ·  view source on GitHub ↗
(self, src, dest)

Source from the content-addressed store, hash-verified

395 self.fs.mv(src, dest, recursive=True)
396
397 def copy_file(self, src, dest):
398 # fs.copy correctly raises IsADirectoryError when `src` is a directory
399 # instead of a file
400 self.fs.copy(src, dest)
401
402 # TODO can we read/pass metadata (e.g. Content-Type) in the methods below?
403

Callers 1

test_copy_fileMethod · 0.45

Calls 1

copyMethod · 0.80

Tested by 1

test_copy_fileMethod · 0.36