anchor.diff: +% @doc
  +% Server-side bulk data loader.
  +% @end
   -module(dby_bulk).
   
   -export([export/2,
  
positive.code: % The only supported formats are `json' and `json0'.
  %
  % `json0' is a backward compatible importer.  Use this for the first
  % version of the export files.
  % @end
  -spec import(Format :: json | json0, string()) -> ok | {error, reason()}.
  import(Format, Filename) ->
  
negative.code: % export helper functions
  % ==============================================================================
  
  % Format a link for jiffy.  "system" links are ignored.
  json_link(#identifier{metadata = #{system := _}}) ->
      % do not save system identifiers
      [];
  