anchor.diff:      ?assertEqual({error, enoent}, ?MODULE:torrents()).
   
   test_ensure_exists() ->
  -    ?assertNot(?MODULE:exists(dotdir())),
  +    ?assertNot(?MODULE:exists(etorrent_config:dotdir())),
       ok = ?MODULE:make(),
  -    ?assert(?MODULE:exists(dotdir())).
  +    ?assert(?MODULE:exists(etorrent_config:dotdir())).
   
   test_ensure_exists_error() ->
       meck:new(file, [unstick,passthrough]),
  
positive.code: %% @end
  -spec make() -> ok.
  make() ->
      Dir = dotdir(),
      case exists(Dir) of
          true -> ok;
          false -> file:make_dir(Dir)
  
negative.code: -spec base_path(Infohash::[byte()]) -> Path::string().
  base_path(Infohash) ->
      assert_hex_hash(Infohash),
      filename:join([etorrent_config:dotdir(), Infohash]).
  
  
  %% @doc Get the info hash of a torrent file.
  