Crate cap_directories
source ·Expand description
Capability-based standard directories.
Structs
Instances of this
AmbientAuthority
type serve to indicate that the
ambient_authority
function has been called, indicating that the user
has explicitly opted into using ambient authority.ProjectDirs
computes the cache, config or data directories for a specific
application, which are derived from the standard directories and the name
of the project/organization.UserDirs
provides paths of user-facing standard directories, following
the conventions of the operating system the library is running on.Functions
Return an
AmbientAuthority
value, which allows use of functions that
include an AmbientAuthority
argument.