···139139 None
140140141141 let load xdg =
142142- match Xdge.find_config_file xdg "config.toml" with
142142+ match Xdge.config_file xdg "config.toml" with
143143 | Some path -> load_from_path path
144144 | None ->
145145 Log.debug (fun m -> m "No config.toml found in XDG config directories");
···344344345345let term ~app_name ~fs () =
346346 (* Create XDG context to read config file defaults at term construction time. *)
347347- let xdg = Xdge.create fs app_name in
347347+ let xdg = Xdge.v fs app_name in
348348 let file_config =
349349 match Config_file.load xdg with Some c -> c | None -> Config_file.empty
350350 in
···374374375375(** {1 XDG Access} *)
376376377377-let xdg ~app_name ~fs = Xdge.create fs app_name
377377+let xdg ~app_name ~fs = Xdge.v fs app_name
378378379379(** {1 Documentation Helpers} *)
380380···497497498498let init_config_term ~app_name ~fs =
499499 let run force =
500500- let xdg = Xdge.create fs app_name in
500500+ let xdg = Xdge.v fs app_name in
501501 let path = config_path xdg in
502502 let exists = Eio.Path.is_file path in
503503 if exists && not force then begin
···543543544544let show_config_term ~app_name ~fs =
545545 let run () =
546546- let xdg = Xdge.create fs app_name in
546546+ let xdg = Xdge.v fs app_name in
547547 let path = config_path xdg in
548548 Fmt.pr "Configuration file: %s@.@." (Eio.Path.native_exn path);
549549 if Eio.Path.is_file path then begin