Skip to main content

Module platform

Module platform 

Source
Expand description

Cross-platform compatibility and system integration

This module provides platform-specific optimizations and features for Windows, macOS, and Linux.

Modules§

hardware
Hardware detection and optimization
integration
System integration features

Structs§

PlatformInfo
Platform-specific information and capabilities

Functions§

ensure_platform_dirs
Ensure platform directories exist
get_cache_dir
Get platform-specific cache directory
get_config_dir
Get platform-specific configuration directory
get_data_dir
Get platform-specific data directory
get_platform_info
Get current platform information
is_elevated
Check if running with administrator/root privileges