anchor.diff:      end.
   
   
  +%% ===================================================================
  +%% Documents Management
  +%% ===================================================================
  +
   %% open_doc/2
   %% ====================================================================
   %% @doc Returns document with a given DocID
  
positive.code: -export([name/1]).
  -export([list_dbs/0, list_dbs/1, get_db_info/1, get_doc_count/1, create_db/1, create_db/2]).
  -export([delete_db/1, delete_db/2, open_doc/2, open_doc/3, insert_doc/2, insert_doc/3, delete_doc/2, delete_docs/2]).
  -export([insert_docs/2, insert_docs/3]).
  
  %% TODO:
  %% % DBs
  %% -export([set_revs_limit/3,
  %%     set_security/3, get_revs_limit/1, get_security/1, get_security/2]).
  
negative.code: 
  -include_lib("veil_modules/dao/couch_db.hrl").
  
  -define(ADMIN_USER_CTX, {user_ctx, #user_ctx{roles = [<<"_admin">>]}}).
  
  -ifdef(TEST).
  -compile([export_all]).
  -endif.
  