XDG library path support for OCaml via Eio capabilities
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: rename d3t to wire across codebase

Rename the d3t library to wire for clarity. Update all references
in bench, test, and library code across affected packages.

+6
+2
lib/xdge.ml
··· 71 71 in 72 72 Eio.Path.(fs / home_str) 73 73 74 + let home_dir = get_home_dir 75 + 74 76 let make_env_var_name app_name suffix = 75 77 String.uppercase_ascii app_name ^ "_" ^ suffix 76 78
+4
lib/xdge.mli
··· 108 108 This is the name that was passed to {!create} and is used as the 109 109 subdirectory name within each XDG base directory. *) 110 110 111 + val home_dir : Eio.Fs.dir_ty Eio.Path.t -> Eio.Fs.dir_ty Eio.Path.t 112 + (** [home_dir fs] returns the user's home directory. Checks [$HOME], then 113 + [$USERPROFILE] on Windows, then falls back to [getpwuid]. *) 114 + 111 115 (** {1 Base Directories} *) 112 116 113 117 val config_dir : t -> Eio.Fs.dir_ty Eio.Path.t