-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it the same as file://. Both of these constructors mean the same thing, so let's keep one of them. Signed-off-by: Rudi Grinberg <[email protected]> <!-- ps-id: cc26aabc-5ed3-42c9-90db-53efae6ec9da -->
- Loading branch information
Showing
11 changed files
with
193 additions
and
155 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
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 |
---|---|---|
@@ -1,17 +1,15 @@ | ||
open Import | ||
|
||
type fetch = | ||
type t = | ||
{ url : Loc.t * OpamUrl.t | ||
; checksum : (Loc.t * Checksum.t) option | ||
} | ||
|
||
type t = | ||
| External_copy of Loc.t * Path.External.t | ||
| Fetch of fetch | ||
|
||
val equal : t -> t -> bool | ||
val decode : (Path.External.t -> t) Dune_sexp.Decoder.t | ||
val encode : t -> Dune_sexp.t | ||
val to_dyn : t -> Dyn.t | ||
val remove_locs : t -> t | ||
val compute_missing_checksum : t -> Package_name.t -> pinned:bool -> t Fiber.t | ||
val external_copy : Loc.t * Path.External.t -> t | ||
val kind : t -> [ `Directory_or_archive of Path.External.t | `Fetch ] |
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
Oops, something went wrong.