pub fn cache_dir() -> Option<PathBuf>
Resolve the cache directory.
Priority:
$TRIDENT_CACHE_DIR
~/.trident/cache/