anchor.diff:  put_dir(Req, #state{filepath = Filepath} = State) ->
       case logical_files_manager:mkdir(Filepath) of
           ok -> %todo check given body
  -            Response = rest_utils:encode_to_json({struct, prepare_container_ans(?default_post_dir_opts,State)}),
  -            Req2 = cowboy_req:set_resp_body(Response,Req),
  -            {true,Req2,State};
  +            Response = rest_utils:encode_to_json({struct, prepare_container_ans(?default_post_dir_opts, State)}),
  +            Req2 = cowboy_req:set_resp_body(Response, Req),
  +            {true, Req2, State};
           {error, dir_exists} ->
  -            {ok,Req2} = cowboy_req:reply(?error_conflict_code,Req),
  +            {ok, Req2} = cowboy_req:reply(?error_conflict_code, Req),
               {halt, Req2, State};
  -        {logical_file_system_error,"enoent"} ->
  -            {ok,Req2} = cowboy_req:reply(?error_not_found_code,Req),
  +        {logical_file_system_error, "enoent"} ->
  +            {ok, Req2} = cowboy_req:reply(?error_not_found_code, Req),
               {halt, Req2, State};
           _ ->
  -            {ok,Req2} = cowboy_req:reply(?error_forbidden_code,Req),
  +            {ok, Req2} = cowboy_req:reply(?error_forbidden_code, Req),
               {halt, Req2, State}
       end.
   
  
positive.code: is_group_dir(Path) ->
      case Path of
          "/groups" -> true;
          [$/,$g,$r,$o,$u,$p,$s | Rest] -> case length(string:tokens(Rest, "/")) of
                                               1 -> true;
                                               _ -> false
                                           end;
          _ -> false
      end.
negative.code: -spec get_dir(req(), #state{}) -> {term(), req(), #state{}}.
  %% ====================================================================
  get_dir(Req, #state{opts = Opts} = State) ->
      DirCdmi = prepare_container_ans(case Opts of [] -> ?default_get_dir_opts; _ -> Opts end, State),
      Response = rest_utils:encode_to_json({struct, DirCdmi}),
      {Response, Req, State}.
  
  