Module tauri_utils::config::parse
source · Expand description
Items to help with parsing content into a Config
.
Enums
Represents all the errors that can happen while reading the config.
The available configuration formats.
Constants
All configuration formats that are currently enabled.
All extensions that are possibly supported, but perhaps not enabled.
All configuration formats that are possibly supported, but perhaps not enabled.
Functions
Check if a supported config file exists at path.
Determines if the given folder has a configuration file.
Determines if the given file path represents a Tauri configuration file.
Parse the config from path, including alternative formats.
“Low-level” helper to parse JSON into a
Config
.“Low-level” helper to parse JSON into a JSON
Value
.Reads the configuration from the given root directory.
Reads the platform-specific configuration file from the given root directory if it exists.