package conex
Module Conex_resource.AuthorisationSource
An authorisation contains the information who is authorised to modify a package. There is always a single authorisation file per package, approved by a quorum of janitors.
Source
type t = private {created : Conex_utils.Uint.t;counter : Conex_utils.Uint.t;wraps : Conex_utils.Uint.t;name : name;
}The authorisation record: a header, a name, and a set of authorised ids.
pp is a pretty printer.
Source
val t :
?counter:Conex_utils.Uint.t ->
?wraps:Conex_utils.Uint.t ->
?authorised:Conex_utils.S.t ->
Conex_utils.Uint.t ->
name ->
tt ~counter ~wraps ~authorised created name is a constructor.
equal t t' is true if the names are equal and the set of authorised ids are equal.
add t id adds id to t.authorised.
remove t id removed id from t.authorised.