anchor.diff:  	    {{string, "info"}, InfoDict}]
        ++ mk_comment(Comment)}.
   
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  +
  
positive.code: -module(etorrent_mktorrent).
  
  -include_lib("kernel/include/file.hrl").
  
negative.code: 
  -define(CHUNKSIZE, 1048576).
  %%====================================================================
  
  %% @doc Create a torrent file.
  %% Given a File or directory `FD' a desired `AnnounceURL' and a output
  %% file name `OutFile' for a .torrent, construct it the contents of
  %% a torrent file.
  %% @end
  mktorrent(FD, AnnounceURL, OutFile) ->
      {PieceHashes, FileInfo} = read_and_hash(FD),
      TorrentData = torrent_file(AnnounceURL, PieceHashes, FileInfo, null),
  