--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Copies a file system entry src to dest. If src is a directory, this method copies its contents recursively. This method preserves file types, c.f. symlink, directory... (FIFO, device files and etc. are not supported yet)
- !ruby/struct:SM::Flow::P
body: Both of src and dest must be a path name. src must exist, dest must not exist.
- !ruby/struct:SM::Flow::P
body: If preserve is true, this method preserves owner, group, permissions and modified time.
- !ruby/struct:SM::Flow::P
body: If dereference_root is true, this method dereference tree root.
- !ruby/struct:SM::Flow::P
body: If remove_destination is true, this method removes each destination file before copy.
full_name: FileUtils#copy_entry
is_singleton: false
name: copy_entry
params: (src, dest, preserve = false, dereference_root = false, remove_destination = false)
visibility: public