Function dirs::video_dir[][src]

pub fn video_dir() -> Option<PathBuf>

Returns the path to the user's video 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_VIDEOS_DIR /home/alice/Videos
macOS $HOME/Movies /Users/Alice/Movies
Windows {FOLDERID_Videos} C:\Users\Alice\Videos