metatorrent v1.0.0 Metatorrent.SingleFileInfo View Source

A metadata file's :info block describing a single downloadable file.

Keys

  • :length - The length of the downloadable file.
  • :name - The name of the downloadable file.
  • :piece_length - The nominal length of each piece. Note that the length of the final piece of the file will likely be shorter than this.
  • :pieces - A list of twenty-byte SHA-1 hashes of each piece.