class Zip::Writers::DirEntry

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

Instance methods inherited from class Zip::Writers::WriterEntry

to_s(dst_io) : UInt64 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 : UInt64, dst_len : UInt64, zip64 : Bool) : UInt32 write_footer, zip64? : Bool zip64?

Class methods inherited from class Zip::Writers::WriterEntry

new(pos : UInt64, path : String, method : CompressionMethod = CompressionMethod::DEFLATE, time : Time = Time.now, comment : String = "", flags : GeneralFlags = GeneralFlags.flags, external : UInt32 = 0_u32, zip64 : Bool = false) new

Class Method Detail

def self.new(pos : UInt64, path : String, time : Time = Time.now, comment : String = "") #

Create a new DirEntry instance.

You should not need to call this method directly; use Writer#add_dir instead.