Module hoard::dirs

source ·
Expand description

Functions to determine special folders for Hoard to work with on different platforms.

Constants

  • The Company portion of the application identifier.
  • The environment variable that takes precendence over config dir detection.
  • The environment variable that takes precendence over data dir detection.
  • The Project Name portion of the application identifier.
  • The TLD portion of the application identifier.

Functions

  • Returns Hoard’s configuration directory for the current user.
  • Returns Hoard’s data directory for the current user.
  • Returns the current user’s home directory.
  • Set the environment variable that overrides Hoard’s config directory.
  • Set the environment variable that overrides Hoard’s data directory.