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