]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_annotations_cache/cicCache.ml
first moogle template checkin
[helm.git] / helm / ocaml / cic_annotations_cache / cicCache.ml
index 0885397581690671e0f04ab6cb3e109e5846dc0e..5da492f1130f239bda684670d389722755bbf3d7 100644 (file)
 (******************************************************************************)
 
 let get_annobj uri =
- let module G = Getter in
  let module U = UriManager in
-  let cicfilename = G.getxml (U.cicuri_of_uri uri) in
+  let cicfilename = Http_getter.getxml' (U.cicuri_of_uri uri) in
   let cicbodyfilename =
    match U.bodyuri_of_uri uri with
       None -> None
-    | Some bodyuri ->
-       Some (G.getxml (U.cicuri_of_uri bodyuri))
+    | Some bodyuri -> Some (Http_getter.getxml' (U.cicuri_of_uri bodyuri))
   in
    let annobj = CicParser.annobj_of_xml cicfilename cicbodyfilename in
     Unix.unlink cicfilename ;
@@ -51,7 +49,7 @@ let get_annobj uri =
     annobj,
      if U.uri_is_annuri uri then
       begin
-       let annfilename = G.getxml (U.annuri_of_uri uri) in
+       let annfilename = Http_getter.getxml' (U.annuri_of_uri uri) in
         let res =
          Some (CicAnnotationParser.get_annotations annfilename)
         in