metatorrent v1.0.0 Metatorrent.MultiFileInfo View Source

A metadata file's :info block describing mutliple downloadable files.

Keys

  • :length - The cumulative size of all files in the torrent. This key is added by Metatorrent, and is the sum of all file lengths.
  • :name - The name of the torrent.
  • :piece_length - The nominal length of each piece.
  • :files - A list of maps describing each downloadable file in this torrent.

    • :length - The length of this file
    • :path - A list of directory names, with the final entry being the file's name
    • :md5sum - The MD5 hash of the file (not usually present).