Function dirs_next::audio_dir [−][src]
Expand description
Returns the path to the user’s audio directory.
The returned value depends on the operating system and is either a Some
, containing a value from the following table, or a None
.
Platform | Value | Example |
---|---|---|
Linux | XDG_MUSIC_DIR | /home/alice/Music |
macOS | $HOME /Music | /Users/Alice/Music |
Windows | {FOLDERID_Music} | C:\Users\Alice\Music |