open Core.Std
type 'a t
module Pair : sig
type t
val value
: t
-> string option end
module Link : sig
type t
end
module Content : sig
type t
val content_type
: t
-> string option val charset
: t
-> string option val content_encoding
: t
-> string option val last_mod
: t
-> Int32.t
option val last_mod_usec
: t
-> Int32.t
option val usermeta
: t
-> Pair
.t
list val indexes
: t
-> Pair
.t
list end
val of_pb : Pb_robj.Robj.t -> [ `Maybe_siblings ] t
val to_pb : 'a t -> Pb_robj.Robj.t
val no_siblings_of_t : 'a t -> ([ `No_siblings ] t, [> `Has_siblings ]) Result.t
val contents
: 'a t
-> Content
.t
list val content : [ `No_siblings ] t -> Content.t
val set_contents
: 'a t
-> Content
.t
list -> [ `Maybe_siblings
] t
val set_content : 'a t -> Content.t -> [ `No_siblings ] t
val vclock
: 'a t
-> string option val unchanged
: 'a t
-> bool
b3BlbiBDb3JlLlN0ZAoKdHlwZSAnYSB0Cgptb2R1bGUgUGFpciA6IHNpZwogIHR5cGUgdAoKICB2YWwga2V5ICAgOiB0IC0+IHN0cmluZwogIHZhbCB2YWx1ZSA6IHQgLT4gc3RyaW5nIG9wdGlvbgplbmQKCm1vZHVsZSBMaW5rIDogc2lnCiAgdHlwZSB0CmVuZAoKbW9kdWxlIENvbnRlbnQgOiBzaWcKICB0eXBlIHQKCiAgdmFsIHZhbHVlICAgICAgICAgICAgOiB0IC0+IHN0cmluZwogIHZhbCBjb250ZW50X3R5cGUgICAgIDogdCAtPiBzdHJpbmcgb3B0aW9uCiAgdmFsIGNoYXJzZXQgICAgICAgICAgOiB0IC0+IHN0cmluZyBvcHRpb24KICB2YWwgY29udGVudF9lbmNvZGluZyA6IHQgLT4gc3RyaW5nIG9wdGlvbgogIHZhbCB2dGFnICAgICAgICAgICAgIDogdCAtPiBzdHJpbmcgb3B0aW9uCiAgdmFsIGxhc3RfbW9kICAgICAgICAgOiB0IC0+IEludDMyLnQgb3B0aW9uCiAgdmFsIGxhc3RfbW9kX3VzZWMgICAgOiB0IC0+IEludDMyLnQgb3B0aW9uCiA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