Skip to content

Commit

Permalink
refactor: remove some dead code (#1243)
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
  • Loading branch information
rgrinberg committed May 8, 2024
1 parent e485128 commit c917d8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions ocaml-lsp-server/src/progress.ml
Expand Up @@ -93,7 +93,3 @@ let build_progress t (progress : Drpc.Progress.t) =
sprintf "Building [%d/%d]" progress.complete total
in
WorkDoneProgressReport.create ~percentage ~message ())))))

let should_report_build_progress = function
| Disabled -> false
| Enabled _ -> true
2 changes: 0 additions & 2 deletions ocaml-lsp-server/src/progress.mli
Expand Up @@ -11,5 +11,3 @@ val create :
val end_build_if_running : t -> unit Fiber.t

val build_progress : t -> Drpc.Progress.t -> unit Fiber.t

val should_report_build_progress : t -> bool

0 comments on commit c917d8a

Please sign in to comment.