Skip to content

Commit 0212917

Browse files
committed
fix: Change reference of #copy to #archive_out
1 parent 91401de commit 0212917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ container.changes
423423
# => [{'Path'=>'/dev', 'Kind'=>0}, {'Path'=>'/dev/kmsg', 'Kind'=>1}]
424424

425425
# Copy files/directories from the Container. Note that these are exported as tars.
426-
container.copy('/etc/hosts') { |chunk| puts chunk }
426+
container.archive_out('/etc/hosts') { |chunk| puts chunk }
427427

428428
hosts0000644000000000000000000000023412100405636007023 0ustar
429429
127.0.0.1 localhost

0 commit comments

Comments
 (0)