anchor.diff:      {"Simple check for headers/1 helper", [
           ?_assertEqual(source_index_headers(), headers(source)),
           ?_assertEqual(binary_index_headers(), headers(binary)),
  -        ?_assertEqual(release_headers(), headers(release))
  +        ?_assertEqual(release_headers(), headers(release)),
  +        ?_assertEqual(source_files_headers(), headers(source_files)),
  +        ?_assertEqual(binary_file_headers(), headers(binary_file))
       ]}.
   -endif.
   
  
positive.code: headers(binary) ->
      binary_index_headers();
  headers(release) ->
      release_headers().
  
  format_unknown(Unhandled) ->
      format_unknown(Unhandled, <<>>).
  
negative.code:         {sha256, <<"SHA256">>, optional, files}
      ].
  
  -spec source_files_headers() -> Result when
      Result :: [header_type()].
  
  source_files_headers() ->
      [
          {directory, <<"Directory">>, mandatory, flatten},
          {files, <<"Files">>, mandatory, files},
          {sha1, <<"Checksums-Sha1">>, mandatory, files},
          {sha256, <<"Checksums-Sha256">>, optional, files}
      ].
  
  -spec binary_file_headers() -> Result when
      Result :: [header_type()].
  
  binary_file_headers() ->
      [
          {filename, <<"Filename">>, mandatory, flatten},
          {size, <<"Size">>, mandatory, flatten},
          {md5sum, <<"MD5Sum">>, mandatory, flatten},
          {sha1, <<"SHA1">>, mandatory, flatten},
          {sha256, <<"SHA256">>, optional, flatten}
      ].
  
  % }}}
  
  -ifdef(TEST).
  