D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
gems
/
rubyzip-1.1.7
/
lib
/
zip
/
Filename :
streamable_directory.rb
back
Copy
module Zip class StreamableDirectory < Entry def initialize(zipfile, entry, srcPath = nil, permissionInt = nil) super(zipfile, entry) @ftype = :directory entry.get_extra_attributes_from_path(srcPath) if (srcPath) @unix_perms = permissionInt if (permissionInt) end end end # Copyright (C) 2002, 2003 Thomas Sondergaard # rubyzip is free software; you can redistribute it and/or # modify it under the terms of the ruby license.