Class: Archive::Entry
- Inherits:
-
Object
- Object
- Archive::Entry
- Defined in:
- lib/libarchive_rs.rb
Instance Method Summary collapse
-
#copy_stat(path) ⇒ Object
Populates an Entry by doing a stat on given path and copying all attributes.
Instance Method Details
#copy_stat(path) ⇒ Object
Populates an Entry by doing a stat on given path and copying all attributes.
75 76 77 78 |
# File 'lib/libarchive_rs.rb', line 75 def copy_stat(path) copy_stat_helper(path) self.set_symlink(File.readlink(path)) if self.symbolic_link? end |