Function tauri::api::path::video_dir

source ·
pub fn video_dir() -> Option<PathBuf>
Expand description

Returns the path to the user’s video dir

§Platform-specific

  • Linux: Resolves to xdg-user-dirsXDG_VIDEOS_DIR.
  • macOS: Resolves to $HOME/Movies.
  • Windows: Resolves to {FOLDERID_Videos}.