module Compress::Zip::FileInfo

Overview

Base type for file information related to zip entries.

Direct including types

Defined in:

compress/zip/file_info.cr

Constant Summary

DATA_DESCRIPTOR_SIGNATURE = 134695760
DEFLATE_END_SIGNATURE = Bytes[80, 75, 7, 8, read_only: true]
SIGNATURE = 67324752

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def comment #

def comment=(comment) #

def compressed_size #

def compressed_size=(compressed_size) #

def compression_method #

def compression_method=(compression_method) #

def crc32 #

def crc32=(crc32) #

def dir? : Bool #

Returns true if this entry is a directory.


def extra #

def extra=(extra) #

def file? : Bool #

Returns true if this entry is a file.


def filename #

def filename=(filename) #

def general_purpose_bit_flag #

def general_purpose_bit_flag=(general_purpose_bit_flag) #

def offset #

def offset=(offset) #

def time : Time #

def time=(time : Time) #

def uncompressed_size #

def uncompressed_size=(uncompressed_size) #

def version : UInt16 #

def version=(version : UInt16) #