MCPcopy Create free account
hub / github.com/Moosync/Moosync / get_preference_state

Function get_preference_state

src-tauri/src/preference_holder/mod.rs:112–115  ·  view source on GitHub ↗
(app: &mut App)

Source from the content-addressed store, hash-verified

110
111#[tracing::instrument(level = "debug", skip(app))]
112pub fn get_preference_state(app: &mut App) -> Result<PreferenceConfig> {
113 let data_dir = app.path().app_config_dir()?;
114 PreferenceConfig::new(data_dir)
115}
116
117#[tracing::instrument(level = "debug", skip(app))]
118pub fn initial(app: &mut App) {

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected