portage.util.file_copy package¶
Module contents¶
- portage.util.file_copy._optimized_copyfile(src, dst)¶
Copy the contents (no metadata) of the file named src to a file named dst.
If possible, copying is done within the kernel, and uses “copy acceleration” techniques (such as reflinks). This also supports sparse files.
- Parameters
src (str) – path of source file
dst (str) – path of destination file