-- is the key "files" present? If so, it is a multi-file torrent
-- if not, it is a single file torrent.
filesIfMulti = lookup "files" m
- (Bint length') = m ! "length"
- md5sum' = Nothing
partialInfo = Info { pieceLength = pieceLength'
, pieces = pieces'
, private = private'
, name = unpack name'
+ , filemeta = []
}
in
case filesIfMulti of