File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -809,8 +809,11 @@ as internal buffering of data.
809
809
some filesystems could implement extra optimizations, such as the use of
810
810
reflinks (i.e., two or more inodes that share pointers to the same
811
811
copy-on-write disk blocks; supported file systems include btrfs and XFS)
812
- and server-side copy (in the case of NFS). The copy is done as if
813
- both files are opened as binary.
812
+ and server-side copy (in the case of NFS).
813
+
814
+ The copy is done as if both files are opened in binary mode, meaning that
815
+ this function will not convert encodings or line endings even if you have
816
+ opened the files in text mode for that as described in :ref: `tut-files `.
814
817
815
818
The return value is the amount of bytes copied. This could be less than the
816
819
amount requested.
You can’t perform that action at this time.
0 commit comments