Module Statocaml_db.TSource

Sourcemodule GHT = GH.Types
Sourceval dummy_wrapper : 'a -> 'a Ocf.Wrapper.t
Sourcetype t = {
  1. data_dir : string;
  2. github : GH.Conf.t;
  3. last_event_date : Ptime.t;
  4. gh_users : GHT.full_user Statocaml.Smap.t;
  5. issues : GHT.issue Statocaml.Imap.t;
  6. commits : GHT.commit Statocaml.Smap.t;
  7. releases : GHT.release Statocaml.Imap.t;
}
Sourceval default_t : t
Sourceval t_wrapper : t Ocf.Wrapper.t
Sourceval json_of_file : Lwt_io.file_name -> Yojson.Safe.t Lwt.t
Sourceval file_of_json : ?pretty:bool -> Yojson.Safe.t -> Lwt_io.file_name -> unit Lwt.t
Sourceval load_smap : 'a Ocf.wrapper -> string -> 'a Statocaml.Smap.t Lwt.t
Sourceval store_smap : 'a Ocf.wrapper -> string -> 'a Statocaml.Smap.t -> unit Lwt.t
Sourceval load_imap : 'a Ocf.wrapper -> string -> 'a Statocaml.Imap.t Lwt.t
Sourceval store_imap : 'a Ocf.wrapper -> string -> 'a Statocaml.Imap.t -> unit Lwt.t
Sourceval load_gh_users : string -> GHT.full_user Statocaml.Smap.t Lwt.t
Sourceval store_gh_users : string -> GHT.full_user Statocaml.Smap.t -> unit Lwt.t
Sourceval load_issues : string -> GHT.issue Statocaml.Imap.t Lwt.t
Sourceval store_issues : string -> GHT.issue Statocaml.Imap.t -> unit Lwt.t
Sourceval load_commits : string -> GHT.commit Statocaml.Smap.t Lwt.t
Sourceval store_commits : string -> GHT.commit Statocaml.Smap.t -> unit Lwt.t
Sourceval load_releases : string -> GHT.release Statocaml.Imap.t Lwt.t
Sourceval store_releases : string -> GHT.release Statocaml.Imap.t -> unit Lwt.t
Sourceval wrapper : t Ocf.wrapper
Sourceval load : ?init:bool -> string -> t Lwt.t
Sourceval store : t -> Lwt_io.file_name -> unit Lwt.t