Skip to main content

Crate tyt_preferences

Crate tyt_preferences 

Source

Structs§

DependenciesImpl
Concrete implementation of preference I/O operations.
Prefs
Preferences loaded from .tytconfig files.

Traits§

Dependencies
Dependency injection for preference I/O operations.
DeserializePrefs
Abstracts JSON deserialization for preference types.

Functions§

load_git_prefs
Loads preferences for the given key from <git-root>/.tytconfig.
load_prefs
Loads preferences for the given key from all .tytconfig locations.
load_user_prefs
Loads preferences for the given key from ~/.tytconfig.