Skip to main content

temp_dir

Function temp_dir 

Source
pub fn temp_dir() -> PathBuf
Expand description

Directory for ephemeral files (the background-warm single-flight lockfiles). The system temp dir so the OS reaps them — they never litter the cache. It’s per-user on macOS ($TMPDIR) and /tmp on Linux, and stable within a login, so concurrent gqls processes still see the same lock.