anchor.diff:                  })
           end,
   
  +        % Currently only one share per file is allowed.
  +        Share = case Shares of
  +            [ShareId] ->
  +                gri:serialize(#gri{
  +                    type = op_share,
  +                    id = ShareId,
  +                    aspect = instance,
  +                    scope = private
  +                });
  +            _ ->
  +                null
  +        end,
  +
           #{
               <<"name">> => Name,
               <<"owner">> => gri:serialize(#gri{
  
positive.code:             }),
              <<"mtime">> => ModificationTime,
              <<"size">> => Size,
              <<"distribution">> => gri:serialize(#gri{
                  type = op_replica,
                  id = Guid,
  
negative.code:     type = TypeAttr,
      mode = Mode,
      size = SizeAttr,
      mtime = ModificationTime,
      shares = Shares
  }) ->
      {Type, Size} = case TypeAttr of
          ?DIRECTORY_TYPE ->
  