enum
RemiLib::Config::DirectoryType
Overview
The supported types of user configuration directories.
Defined in:
remilib/config/resolver.crEnum Members
-
Xdg =
0 -
Follows the XDG Base Directory Specification.
-
Windows =
1 -
Uses the
%APPDATA%directory. -
Custom =
2 -
A custom directory type.
Instance Method Summary
-
#custom?
Returns
trueif this enum value equalsCustom -
#windows?
Returns
trueif this enum value equalsWindows -
#xdg?
Returns
trueif this enum value equalsXdg
Instance methods inherited from struct Enum
toRsconf(builder : RemiLib::RSConf::Builder)
toRsconf
Constructor methods inherited from struct Enum
new(val : RemiLib::RSConf::RSValue)
new
Instance methods inherited from class Object
toRsconf(io : IO, *, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : NiltoRsconf(*, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : String toRsconf
Class methods inherited from class Object
fromRsconf(toplevel : RemiLib::RSConf::RSValue)fromRsconf(data : String | IO | Path) fromRsconf