Open tadegenban opened 9 years ago
io->file('path/to/file')->copy('new/path/to/file')
if the new/path/ is not exist, this will cause error : No such file or directory at ../IO/All/File.pm line 125
I'm wondering why not create directories recursively if need be, or add a new method 'rcopy' or 'fcopy' to do this ?
io->file('path/to/file')->copy('new/path/to/file')
if the new/path/ is not exist, this will cause error : No such file or directory at ../IO/All/File.pm line 125
I'm wondering why not create directories recursively if need be, or add a new method 'rcopy' or 'fcopy' to do this ?