Skip to content

Commit b773282

Browse files
authored
refactor: rename [Dune_load.conf] to [Dune_load.t] (#9766)
Signed-off-by: Rudi Grinberg <[email protected]>
1 parent 3cb2d9e commit b773282

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/dune_rules/dune_load.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ module Dune_files = struct
293293
;;
294294
end
295295

296-
type conf =
296+
type t =
297297
{ dune_files : Dune_files.t
298298
; packages : Package.t Package.Name.Map.t
299299
; projects : Dune_project.t list

src/dune_rules/dune_load.mli

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ module Dune_files : sig
1313
val in_dir : Path.Build.t -> Dune_file.t option Memo.t
1414
end
1515

16-
type conf = private
16+
type t = private
1717
{ dune_files : Dune_files.t
1818
; packages : Package.t Package.Name.Map.t
1919
; projects : Dune_project.t list
2020
; projects_by_root : Dune_project.t Path.Source.Map.t
2121
}
2222

2323
(** Load all dune files. This function is memoized. *)
24-
val load : unit -> conf Memo.t
24+
val load : unit -> t Memo.t
2525

2626
val find_project : dir:Path.Build.t -> Dune_project.t Memo.t

src/dune_rules/main.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ open Import
33
let () = Inline_tests.linkme
44

55
type build_system =
6-
{ conf : Dune_load.conf
6+
{ conf : Dune_load.t
77
; contexts : Context.t list
88
; scontexts : Super_context.t Context_name.Map.t
99
}

src/dune_rules/main.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ val init
1212
-> unit
1313

1414
type build_system =
15-
{ conf : Dune_load.conf
15+
{ conf : Dune_load.t
1616
; contexts : Context.t list
1717
; scontexts : Super_context.t Context_name.Map.t
1818
}

0 commit comments

Comments
 (0)