pub fn data_path() -> StringExpand description
Get the application’s data path in user’s directory.
- Windows:
%LOCALAPPDATA%/<name> - Linux:
~/.config/<name> - OS X:
~/Library/Application Support/<name>/Default <name>is the name field in thepackage.jsonmanifest.