Skip to content

module Compress::Zip::FileInfo

Base type for file information related to zip entries.

Direct including types

Compress::Zip::File::Entry Compress::Zip::Reader::Entry Compress::Zip::Writer::Entry

Constants

DATA_DESCRIPTOR_SIGNATURE = 134695760

DEFLATE_END_SIGNATURE = Bytes[80, 75, 7, 8, read_only: true]

SIGNATURE = 67324752

Class methods

.new(filename : String, time = Time.utc, comment = "", extra = Bytes.empty)

View source

Methods

#comment

View source

#comment=(comment)

View source

#compressed_size

View source

#compressed_size=(compressed_size)

View source

#compression_method

View source

#compression_method=(compression_method)

View source

#crc32

View source

#crc32=(crc32)

View source

#dir?

Returns true if this entry is a directory.

View source

#extra

View source

#extra=(extra)

View source

#file?

Returns true if this entry is a file.

View source

#filename

View source

#filename=(filename)

View source

#general_purpose_bit_flag

View source

#general_purpose_bit_flag=(general_purpose_bit_flag)

View source

#offset

View source

#offset=(offset)

View source

#time : Time

View source

#time=(time : Time)

View source

#uncompressed_size

View source

#uncompressed_size=(uncompressed_size)

View source

#version : UInt16

View source

#version=(version : UInt16)

View source