Skip to content

Commit

Permalink
[fleche] Remove wip API that was leftover on mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejgallego committed Jun 11, 2024
1 parent afd9c47 commit 609e5cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions fleche/theory.ml
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,3 @@ module Request = struct
| FullDoc -> Handle.remove_cp_request ~uri ~id
| PosInDoc { point; _ } -> Handle.remove_pt_request ~uri ~id ~point
end

(* xxx to remove *)
let find_doc ~uri =
Handle._find_opt ~uri |> Option.map (fun { Handle.doc; _ } -> doc)
3 changes: 0 additions & 3 deletions fleche/theory.mli
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,3 @@ module Register : sig
val add : t -> unit
end
end

(* XXX this is temporal for petanque, will fix before merge *)
val find_doc : uri:Lang.LUri.File.t -> Doc.t option

0 comments on commit 609e5cb

Please sign in to comment.