Skip to content

Commit

Permalink
refactor(pkg): remove some dead solver code (#11228)
Browse files Browse the repository at this point in the history

Signed-off-by: Rudi Grinberg <[email protected]>
  • Loading branch information
rgrinberg authored Dec 19, 2024
1 parent 7025204 commit 69bafe0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions src/opam-0install/lib/solver.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ module Make (Context : S.CONTEXT) = struct
open Pp.O
module Input = Model.Make (Context)

let version = Input.version
let package_name = Input.package_name
let formula = Input.formula

let requirements ~context pkgs =
let role =
match pkgs with
Expand Down
3 changes: 0 additions & 3 deletions src/opam-0install/lib/solver.mli
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,5 @@ module Make (C : S.CONTEXT) : sig
include module type of Zeroinstall_solver.Diagnostics (Solver.Output)
end

val version : Input.impl -> OpamPackage.t option
val package_name : Input.Role.t -> OpamPackage.Name.t option
val formula : Input.restriction -> [ `Ensure | `Prevent ] * OpamFormula.version_formula
val diagnostics_rolemap : diagnostics -> Diagnostics.t Fiber.t
end

0 comments on commit 69bafe0

Please sign in to comment.