X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fmetadata%2FmetadataDb.mli;h=a5b0d27534bd2146e1efc557445dfcca35757269;hb=fdd8107cc53f5e862004aa5fcd48593ee5634234;hp=074ff721443aaf8e45eb31555608d7c512351123;hpb=21758b512843088d19e81830d9fb121725c8a16e;p=helm.git diff --git a/helm/ocaml/metadata/metadataDb.mli b/helm/ocaml/metadata/metadataDb.mli index 074ff7214..a5b0d2753 100644 --- a/helm/ocaml/metadata/metadataDb.mli +++ b/helm/ocaml/metadata/metadataDb.mli @@ -24,24 +24,25 @@ *) (** index a Cic.Constant object and insert resulting metadata into the db - * PRE_EVAL(dbh) *) + * PRE_EVAL(dbd) *) val index_constant: - dbh:Dbi.connection -> - owner:string -> + dbd:Mysql.dbd -> uri:UriManager.uri -> body:Cic.term option -> ty:Cic.term -> unit (** index a Cic.InductiveDefinition object and insert resulting metadata into * the db - * PRE_EVAL(dbh) *) + * PRE_EVAL(dbd) *) val index_inductive_def: - dbh:Dbi.connection -> - owner:string -> + dbd:Mysql.dbd -> uri:UriManager.uri -> types:Cic.inductiveType list -> unit (* TODO Zack indexing of variables and (perhaps?) incomplete proofs *) - (** remove from the db all metadata pertaining to a given owner *) -val clean: dbh:Dbi.connection -> owner:string -> unit + (** remove from the db all metadata pertaining to a given owner + * @return list of uris removed from the db *) +val clean: dbd:Mysql.dbd -> string list + +val unindex: dbd:Mysql.dbd -> uri:UriManager.uri -> unit