Skip to main content

Module paths

Module paths 

Source

Functions§

cache_dir
Platform-aware cache directory.
config_dir
Platform-aware config directory.
data_dir
Platform-aware base data directory.
db_path
SQLite database path: <modde_data>/modde.db.
downloads_dir
Downloads directory: <modde_data>/downloads/.
heroic_config_dir
Heroic Games Launcher config directory (platform-aware).
home_dir
modde_cache_dir
Root of modde’s non-essential cache files: <cache_dir>/modde/.
modde_config_dir
Modde config directory: <config_dir>/modde/.
modde_data_dir
Root of all modde data: <data_dir>/modde/ or the overridden path.
profiles_dir
Profiles root: <modde_data>/profiles/.
save_vault_dir
Save vault (git repo) for a specific game: <modde_data>/saves/<game_id>/.
save_vaults_dir
Root of all save vaults: <modde_data>/saves/.
set_data_dir
Set a custom data directory. Must be called before any path functions.
staging_dir
Staging scratch space: <modde_data>/staging/.
steam_common
Default Steam common library path.
steam_library_folders
Parse Steam’s libraryfolders.vdf and return all library paths.
stock_dir
Stock game snapshots: <modde_data>/stock/.
store_dir
Mod file store: <modde_data>/store/.
wabbajack_cache_dir
Content-addressed cache of .wabbajack manifest source files. See crate::manifest::wabbajack::cache_wabbajack_file.
wabbajack_cache_path
Path to a cached .wabbajack file keyed by its manifest_hash.