anchor.diff:      end.
   
   
  --spec try_makedir(nonempty_string()) -> ok.
  +-spec try_makedir(nonempty_string()) -> ok | error.
   try_makedir(Dir) ->
       case prim_file:make_dir(Dir) of
           ok ->
  
positive.code:         {error, eexist} ->
              ok;
          Error ->
              error_logger:warning_report({"Error initializing directory",
                                           Dir,
                                           Error}),
              ok
      end.
  
  -spec init_vols(nonempty_string(), [nonempty_string()]) ->
                         {'ok', [{diskinfo(), nonempty_string()}]}.
  init_vols(Root, VolNames) ->
      lists:foreach(fun(VolName) ->
                            try_makedir(filename:join([Root, VolName, "blob"])),
                            try_makedir(filename:join([Root, VolName, "tag"]))
                    end, VolNames),
      {ok, [{{0, 0}, VolName} || VolName <- lists:sort(VolNames)]}.
  
  -spec find_vols(nonempty_string()) ->
      'eof' | 'ok' | {'ok', [{diskinfo(), nonempty_string()}]} | {'error', _}.
  
negative.code:             case [F || "vol" ++ _ = F <- Files] of
                  [] ->
                      VolName = "vol0",
                      ok = try_makedir(filename:join([Root, VolName])),
                      init_vols(Root, [VolName]);
                  VolNames ->
                      init_vols(Root, VolNames)
  