File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 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.
809809 some filesystems could implement extra optimizations, such as the use of
810810 reflinks (i.e., two or more inodes that share pointers to the same
811811 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 `.
814817
815818 The return value is the amount of bytes copied. This could be less than the
816819 amount requested.
You can’t perform that action at this time.
0 commit comments