Lines Matching refs:copy2
26 :func:`shutil.copy2`) cannot copy all file metadata.
160 :func:`~shutil.copy2` instead.
166 .. function:: copy2(src, dst, *, follow_symlinks=True)
168 Identical to :func:`~shutil.copy` except that :func:`copy2`
172 link, :func:`copy2` attempts to copy all metadata from the
176 unavailable, :func:`copy2` will preserve all the metadata
177 it can; :func:`copy2` never returns failure.
179 :func:`copy2` uses :func:`copystat` to copy the file metadata.
196 copy_function=copy2, ignore_dangling_symlinks=False)
203 :func:`shutil.copy2`.
231 as arguments. By default, :func:`shutil.copy2` is used, but any function
287 .. function:: move(src, dst, copy_function=copy2)
305 default *copy_function* is :func:`copy2`. Using :func:`~shutil.copy` as the
397 copy2(srcname, dstname)