Module Ketrew.Persistent_data.Adding_targets

module Adding_targets: sig .. end

val register_targets_to_add : Ketrew.Persistent_data.t ->
Ketrew_pure.Target.t list ->
(unit,
[> `Database of [> `Act of Trakeva.Action.t | `Load of string ] * string
| `Database_unavailable of string ])
Unix_io.Deferred_result.t
val check_and_really_add_targets : Ketrew.Persistent_data.t ->
(bool,
[> `Database of
[> `Act of Trakeva.Action.t
| `Get of Trakeva.Key_in_collection.t
| `Get_all of string
| `Load of string ] *
string
| `Database_unavailable of string
| `Fetching_node of Ketrew.Persistent_data.Error.fetching_node
| `Target of [> `Deserilization of string ] ])
Unix_io.Deferred_result.t
val force_add_passive_target : Ketrew.Persistent_data.t ->
Ketrew_pure.Target.Stored_target.target ->
(unit,
[> `Database of [> `Act of Trakeva.Action.t | `Load of string ] * string
| `Database_unavailable of string ])
Unix_io.Deferred_result.t
Bypass the normal flow of target addition and put a target in the DB.