Skip to main content

endpoint_dir

Function endpoint_dir 

Source
pub fn endpoint_dir() -> PathBuf
Expand description

Directory of the daemon’s endpoint files (daemon.pid, daemon.sock, the start lock and stderr log): the data directory, so LEAN_CTX_DATA_DIR, the XDG layout and a legacy ~/.lean-ctx install each get their own daemon. The Windows pipe name is derived from it for the same reason.