pub fn packages_cache_root() -> Option<PathBuf>Expand description
The flat package cache root used by the resolver — $LEX_PACKAGES_DIR
if set, otherwise ~/.lex/packages/. Returns None only when neither is
available. Exposed so tooling can recognise dependencies whose path
resolves into this cache (and are therefore aliases of an
already-installed package rather than independent sources).