View Source Unzip.Entry (unzip v0.12.0)

File metadata returned by Unzip.list_entries/1

  • :file_name - (string) File name with complete path. Directory files will have / at the end of their name

  • :last_modified_datetime - (NaiveDateTime) last modified date and time of the file. It will be set to nil if datetime is invalid

  • :compressed_size - (positive integer) Compressed file size in bytes

  • :uncompressed_size - (positive integer) Uncompressed file size in bytes

Summary

Types

@type t() :: %Unzip.Entry{
  compressed_size: pos_integer(),
  file_name: String.t(),
  last_modified_datetime: NaiveDateTime.t() | nil,
  uncompressed_size: pos_integer()
}