diff options
author | Burdette Lamar <[email protected]> | 2022-06-21 12:23:06 -0500 |
---|---|---|
committer | git <[email protected]> | 2022-06-22 02:23:10 +0900 |
commit | fdd1102550d375be4302ac8d2e081797de00a205 () | |
tree | 0c856dd47bf0f3ed6dc07fb21b9cc369aa21b51e /lib/fileutils.rb | |
parent | 102a97e0965956632efdc619f88747dba2dda0fd (diff) |
[ruby/fileutils] Clarify difference between cp_r and install (https://.com/ruby/fileutils/pull/95)
https://.com/ruby/fileutils/commit/94a599e69f
-rw-r--r-- | lib/fileutils.rb | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -24,7 +24,7 @@ end # - {Setting}[rdoc-ref:FileUtils@Setting]. # - {Comparing}[rdoc-ref:FileUtils@Comparing]. # - {Copying}[rdoc-ref:FileUtils@Copying]. -# - {Moving}[rdoc-ref:FileUtils@Copying]. # - {Options}[rdoc-ref:FileUtils@Options]. # # === Creating @@ -76,8 +76,9 @@ end # - ::copy_stream: Copies a stream. # - ::cp, ::copy: Copies files. # - ::cp_lr: Recursively creates hard links. -# - ::cp_r: Recursively copies files. -# - ::install: Recursively copies files (with options different from ::cp_r). # # === Moving # @@ -833,6 +834,9 @@ module FileUtils # and +dest+ (a single path) # should be {interpretable as paths}[rdoc-ref:FileUtils@Path+Arguments]. # # If +src+ is the path to a file and +dest+ is not the path to a directory, # copies +src+ to +dest+: # |