12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273(*
* Copyright (c) 2013-2022 Thomas Gazagnaire <thomas@gazagnaire.org>
* Copyright (c) 2020-2021 Craig Ferguson <me@craigfe.io>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)moduletypeS=sigmoduleHash:Hash.SmoduleBranch:Branch.SmoduleInfo:Info.SmoduleMetadata:Metadata.SmodulePath:Path.SmoduleContents:Contents.SendmoduletypeExtended=sigincludeSmoduleNode(Contents_key:Key.Swithtypehash=Hash.t)(Node_key:Key.Swithtypehash=Hash.t):Node.Generic_key.Swithtypemetadata=Metadata.tandtypestep=Path.stepandtypehash=Hash.tandtypecontents_key=Contents_key.tandtypenode_key=Node_key.tmoduleCommit(Node_key:Key.Swithtypehash=Hash.t)(Commit_key:Key.Swithtypehash=Hash.t):Commit.Generic_key.SwithmoduleInfo:=Infoandtypenode_key=Node_key.tandtypecommit_key=Commit_key.tendopenstructmoduleExtended_is_a_schema(X:Extended):S=Xendtypedefault_hash=Hash.BLAKE2B.tmoduletypeKV=ExtendedwithtypeHash.t=default_hashandtypeBranch.t=stringandtypeInfo.t=Info.defaultandtypeMetadata.t=unitandtypePath.step=stringandtypePath.t=stringlistmoduleKV(C:Contents.S):KVwithmoduleContents=C=structmoduleHash=Hash.BLAKE2BmoduleInfo=Info.DefaultmoduleBranch=Branch.StringmodulePath=Path.String_listmoduleMetadata=Metadata.NonemoduleContents=CmoduleNode=Node.Generic_key.Make(Hash)(Path)(Metadata)moduleCommit=Commit.Generic_key.Make(Hash)end