anchor.diff:          {ok, [#link{} | _] = Links} ->
               UuidsWithTreeIds = lists:map(fun(#link{target = FileUuid, tree_id = TreeId}) -> {FileUuid, TreeId} end, Links),
               {ok, UuidsWithTreeIds};
  -%%            {error, {?EINVAL, MappedLinks}};
           {error, Reason} ->
               {error, Reason}
       end.
  
positive.code: get_child_uuid_and_tree_id(ParentUuid, Name) ->
      Tokens = binary:split(Name, ?CONFLICTING_LOGICAL_FILE_SUFFIX_SEPARATOR, [global]),
      case lists:reverse(Tokens) of
          [TreeIdPrefix | Tokens2]  when TreeIdPrefix =/= <<>>, Tokens2 =/= [], Tokens2 =/= [<<>>] ->
              PrefixSize = size(TreeIdPrefix),
              NameWithoutTreeSuffix = binary:part(
                  Name, 0, size(Name) - PrefixSize - size(?CONFLICTING_LOGICAL_FILE_SUFFIX_SEPARATOR)),
              MatchingTreeIds = case file_meta_links:get_trees(ParentUuid) of
                  {ok, TreeIds} ->
                      lists:filter(fun(TreeId) ->
                          case TreeId of
                              <<TreeIdPrefix:PrefixSize/binary, _/binary>> -> true;
                              _ -> false
                          end
                      end, TreeIds);
  
negative.code:                         {error, Reason} -> {error, Reason}
                      end;
                  [] ->
                      get_child_uuid_and_tree_id_for_name_without_suffix(ParentUuid, Name);
                  _ ->
                      {error, ?EINVAL}
              end;
          _ ->
              get_child_uuid_and_tree_id_for_name_without_suffix(ParentUuid, Name)
  