-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(pkg): remove old and unnecessary wrapper modules (#11320)
Signed-off-by: Rudi Grinberg <[email protected]>
- Loading branch information
Showing
6 changed files
with
22 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 1 addition & 19 deletions
20
src/dune_pkg/zeroinstall_solver.mli → src/dune_pkg/diagnostics.mli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
(** Select a compatible set of components to run a program. | ||
See [Zeroinstall.Solver] for the instantiation of this functor on the | ||
actual 0install types. *) | ||
module Make (Input : S.SOLVER_INPUT) : sig | ||
module Output : S.SOLVER_RESULT with module Input = Input | ||
|
||
(** [do_solve model req] finds an implementation matching the given requirements, plus any other implementations needed | ||
to satisfy its dependencies. | ||
@param closest_match | ||
adds a lowest-ranked (but valid) implementation ([Input.dummy_impl]) to | ||
every interface, so we can always select something. Useful for diagnostics. | ||
Note: always try without [closest_match] first, or it may miss a valid solution. | ||
@return None if the solve fails (only happens if [closest_match] is false). *) | ||
val do_solve : closest_match:bool -> Input.Role.t -> Output.t option Fiber.t | ||
end |
This file was deleted.
Oops, something went wrong.