anchor.diff:      {ok, StoragesMap} = space_logic:get_provider_storages(SpaceId, ProviderId),
       ErrorJson = errors:to_json(Error),
       #{
  +        <<"success">> => false,
           <<"distributionPerStorage">> => maps:map(fun(_StorageId, _) -> #{
  -            <<"success">> => false,
               <<"error">> => ErrorJson 
           }
           end, StoragesMap)
  
positive.code:                 end, #{}, interpolate_chunks(Blocks, LogicalSize)),
  
                  Acc#{StorageId => #{
                      <<"success">> => true,
                      <<"physicalSize">> => TotalBlocksSize,
                      <<"chunksBarData">> => Data,
                      <<"blocksPercentage">> => case LogicalSize of
  
negative.code: }}, _Guid) ->
      #{
          <<"type">> => atom_to_binary(?SYMLINK_TYPE),
              <<"distributionPerProvider">> => maps:map(fun(_ProviderId, StoragesList) -> #{ 
                  <<"success">> => true,
                 <<"logicalSize">> => 0,
                 <<"distributionPerStorage">> =>
                     lists:foldl(fun(StorageId, Acc) ->   
                         Acc#{StorageId => #{<<"physicalSize">> => 0}}
                     end, #{}, StoragesList)
                 } end, StoragesPerProvider)
      };
  
  to_json(gs, #file_distribution_gather_result{distribution = #reg_distribution_gather_result{
  