Module asar::header

source ·
Expand description

Header parsing for asar archives.

Structs

  • This struct contains details about a file in an asar archive, such as where it is located in the archive, its size, whether its executable or not, and integrity details such as cryptographic hashes.
  • This struct contains the integrity details of a file, such as a hash of the file’s contents, and hashes of “blocks” of the file, which is split according to the block_size specified in it.

Enums

  • This struct specifies which cryptographic hashing algorithm is used to calculate the hash of a file in the archive.
  • The Header represents the data structure found in asar archives. It can either be a File, or a Directory containing other Headers.