···4242(** Get XDG directories for session storage *)
4343let with_xdg ~env f =
4444 let fs = Eio.Stdenv.fs env in
4545- let xdg = Xdge.v fs "matrix" in
4545+ let xdg = Xdg_eio.v fs "matrix" in
4646 f xdg
47474848(** Load a stored session, returning the store and session data *)
···11(** Session persistence for Matrix clients.
2233 Implementation using tomlt for TOML serialization and
44- xdge for XDG directory management. *)
44+ nox-xdg for XDG directory management. *)
5566module Ed25519 = Crypto_ec.Ed25519
77module X25519 = Crypto_ec.X25519
···804804 }
805805806806 let create ~xdg ~profile =
807807- let data_dir = Xdge.data_dir xdg in
807807+ let data_dir = Xdg_eio.data_dir xdg in
808808 let profile_path = Eio.Path.(data_dir / "profiles" / profile) in
809809 (* Ensure directory exists *)
810810 Eio.Path.mkdirs ~exists_ok:true ~perm:0o700 profile_path;
+2-2
lib/matrix_client/session.mli
···239239module Store : sig
240240 type t
241241242242- (** Create a session store for the given profile using xdge.
242242+ (** Create a session store for the given profile.
243243 Creates the profile directory if it doesn't exist. *)
244244- val create : xdg:Xdge.t -> profile:string -> t
244244+ val create : xdg:Xdg_eio.t -> profile:string -> t
245245246246 (** Get the profile directory path. *)
247247 val profile_dir : t -> Eio.Fs.dir_ty Eio.Path.t