Expand description
Items to help with parsing content into a Config
.
Enums§
- Config
Error - Represents all the errors that can happen while reading the config.
- Config
Format - The available configuration formats.
Constants§
- ENABLED_
FORMATS - All configuration formats that are currently enabled.
- EXTENSIONS_
SUPPORTED - All extensions that are possibly supported, but perhaps not enabled.
- SUPPORTED_
FORMATS - All configuration formats that are possibly supported, but perhaps not enabled.
Functions§
- does_
supported_ file_ name_ exist - Check if a supported config file exists at path.
- folder_
has_ configuration_ file - Determines if the given folder has a configuration file.
- is_
configuration_ file - Determines if the given file path represents a Tauri configuration file.
- parse
- Parse the config from path, including alternative formats.
- parse_
json - “Low-level” helper to parse JSON into a
Config
. - parse_
json_ value - “Low-level” helper to parse JSON into a JSON
Value
. - parse_
value - See
parse
for specifics, returns a JSONValue
instead ofConfig
. - read_
from - Reads the configuration from the given root directory.
- read_
platform - Reads the platform-specific configuration file from the given root directory if it exists.