mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* lib/fileutils.rb (mv): added description for the case of
different partitions. [ruby-talk:329072] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
15700ff0be
commit
bcf6fd2c86
2 changed files with 6 additions and 1 deletions
|
@ -487,7 +487,7 @@ module FileUtils
|
|||
# Options: force noop verbose
|
||||
#
|
||||
# Moves file(s) +src+ to +dest+. If +file+ and +dest+ exist on the different
|
||||
# disk partition, the file is copied instead.
|
||||
# disk partition, the file is copied then the original file is removed.
|
||||
#
|
||||
# FileUtils.mv 'badname.rb', 'goodname.rb'
|
||||
# FileUtils.mv 'stuff.rb', '/notexist/lib/ruby', :force => true # no error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue