Module Ketrew_pure.Target.Stored_target

module Stored_target: sig .. end

type target = Ketrew_pure.Target.t 
type t 
val to_json : t -> Internal_pervasives.Json.t
Serialize a target to Json.t intermediate representation.
val serialize : t -> string
Serialize a target (for the database).
val deserialize : string ->
(t,
[> `Target of [> `Deserilization of string ] ])
Internal_pervasives.Result.t
Deserilize a target from a string.
val get_target : t ->
[ `Pointer of Ketrew_pure.Target.id
| `Target of target ]
val of_target : target -> t
val is_pointer : t -> bool
val id : t -> Ketrew_pure.Target.id
val name : t -> string
Get the name of the target, or the name of the name of the “original” target if it has been made into a pointer.
val tags : t -> string list
Get the tag-cloud of the target, similarly as Ketrew_pure.Target.Stored_target.name.
val make_pointer : from:target ->
pointing_to:target ->
t