Crate directories [] [src]

The directories crate is

  • a tiny library with a minimal API (2 structs, 3 factory functions, getters)
  • that provides the platform-specific, user-accessible locations
  • for storing configuration, cache and other data
  • on Linux, Windows (≥ Vista) and macOS.

The library provides the location of these directories by leveraging the mechanisms defined by

Structs

BaseDirs
ProjectDirs

Functions

base_dirs