Skip to main content

default_cache_root

Function default_cache_root 

Source
pub fn default_cache_root() -> PathBuf
Expand description

Resolves the base NativeView cache directory:

  1. $XDG_CACHE_HOME/nativeview (when non-empty)
  2. macOS: $HOME/Library/Caches/nativeview
  3. Windows: %LOCALAPPDATA%\nativeview
  4. Unix fallback: $HOME/.cache/nativeview