Module Sortal_feed.Sync

Feed sync orchestration.

Fetches feeds, merges with existing data, and updates metadata. Each format uses an appropriate merge strategy:

type sync_result = {
  1. new_entries : int;
  2. total_entries : int;
  3. feed_name : string option;
}
val sync_feed : session:Requests.t -> store:Sortal_feed__.Sortal_feed_store.t -> handle:string -> ?force:bool -> Sortal_schema.Feed.t -> (sync_result, string) result
val sync_all : session:Requests.t -> store:Sortal_feed__.Sortal_feed_store.t -> handle:string -> ?force:bool -> Sortal_schema.Feed.t list -> (sync_result list, string) result