[go: up one dir, main page]

directories 6.0.0

A tiny mid-level library that provides platform-specific standard locations of directories for config, cache and other data on Linux, Windows and macOS by leveraging the mechanisms defined by the XDG base/user directory specifications on Linux, the Known Folder API on Windows, and the Standard Directory guidelines on macOS.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Stub definitions to make things *compile*.

use std::path::PathBuf;

use BaseDirs;
use UserDirs;
use ProjectDirs;

pub fn base_dirs() -> Option<BaseDirs> { None }
pub fn user_dirs() -> Option<UserDirs> { None }
pub fn project_dirs_from_path(project_path: PathBuf) -> Option<ProjectDirs> { None }
pub fn project_dirs_from(qualifier: &str, organization: &str, application: &str) -> Option<ProjectDirs> { None }