CopyFile moves a single file possibly to a new name
(ctx context.Context, fdst fs.Fs, fsrc fs.Fs, dstFileName string, srcFileName string)
| 426 | |
| 427 | // CopyFile moves a single file possibly to a new name |
| 428 | func CopyFile(ctx context.Context, fdst fs.Fs, fsrc fs.Fs, dstFileName string, srcFileName string) (err error) { |
| 429 | return moveOrCopyFile(ctx, fdst, fsrc, dstFileName, srcFileName, true, false) |
| 430 | } |
searching dependent graphs…