Expand description
Returns the path to the user’s data directory.
Platform-specific
- Linux: Resolves to
$XDG_DATA_HOMEor$HOME/.local/share. - macOS: Resolves to
$HOME/Library/Application Support. - Windows: Resolves to
{FOLDERID_RoamingAppData}.
Returns the path to the user’s data directory.
$XDG_DATA_HOME or $HOME/.local/share.$HOME/Library/Application Support.{FOLDERID_RoamingAppData}.