anchor.diff:  %% datastore_model callbacks
   -export([get_ctx/0, get_record_struct/1, get_record_version/0]).
   
  --define(LINK, <<"AUTOCLEANING_LINK">>).
  +-define(LINK_PREFIX, <<"autocleaning_">>).
   
   -define(CTX, #{
       model => ?MODULE,
  
positive.code:     AccIn :: term()) -> {ok, Acc :: term()} | {error, term()}.
  for_each_autocleaning(SpaceId, Callback, AccIn) ->
      Ctx = ?CTX#{scope => SpaceId},
      datastore_model:fold_links(Ctx, ?LINK, all, fun(#link{name = Name}, Acc) ->
          {ok, Callback(Name, Acc)}
      end, AccIn, #{}).
  
  
negative.code: add_link(AutocleaningId, SpaceId) ->
      Ctx = ?CTX#{scope => SpaceId},
      TreeId = oneprovider:get_provider_id(),
      {ok, _} = datastore_model:add_links(Ctx, space_link_root(SpaceId), TreeId, {AutocleaningId, <<>>}),
      ok.
  
  %%--------------------------------------------------------------------
  