There was an error while loading. Please reload this page.
1 parent 981412d commit f662cc8Copy full SHA for f662cc8
1 file changed
bin/pkg/pkg_common.mli
@@ -82,11 +82,10 @@ end
82
[lock_dir]. *)
83
val pp_packages : Dune_pkg.Lock_dir.Pkg.t list -> User_message.Style.t Pp.t
84
85
+(** [pkg_enabled ~workspace ~lock_dir_paths] returns [true] if package management is
86
+ enabled. *)
87
+val pkg_enabled : workspace:Workspace.t -> lock_dir_paths:Path.Source.t list -> bool
88
+
89
(** [check_pkg_management_enabled ()] checks if package management is enabled in the
90
workspace configuration. Raises a user error if it is explicitly disabled. *)
-val pkg_enabled
- : workspace:Workspace.t
- -> lock_dir_paths:Path.Source.t list
- -> bool
91
-
92
val check_pkg_management_enabled : unit -> unit Fiber.t
0 commit comments