class Zip::Writers::DirEntry
- Zip::Writers::DirEntry
- Zip::Writers::WriterEntry
- Reference
- Object
Overview
Internal class used to store files for Writer
instance.
You should not need to instantiate this class directly; use
Writer#add_dir
instead.
Defined in:
Constant Summary
-
FLAGS =
GeneralFlags.flags(EFS)
-
Default flags for local and central file header.
Class Method Summary
-
.new(pos : UInt32, path : String, time : Time = Time.now, comment : String = "")
Create a new DirEntry instance.
Instance methods inherited from class Zip::Writers::WriterEntry
to_s(dst_io) : UInt32
to_s,
write_body(dst_io : IO)
write_body,
write_central(io : IO, version : Version = Version::DEFAULT) : UInt32
write_central,
write_footer(io : IO, crc : UInt32, src_len : UInt32, dst_len : UInt32) : UInt32
write_footer
Class methods inherited from class Zip::Writers::WriterEntry
new(pos : UInt32, path : String, method : CompressionMethod = CompressionMethod::DEFLATE, time : Time = Time.now, comment : String = "", flags : GeneralFlags = GeneralFlags.flags, external : UInt32 = 0_u32)
new
Class Method Detail
Create a new DirEntry instance.
You should not need to call this method directly; use
Writer#add_dir
instead.