Mountain/Command/TreeView/
PersistTreeView.rs1#![allow(non_snake_case)]
2
3use std::sync::Arc;
13
14use serde_json::{Value, json};
15use tauri::{AppHandle, State, Wry, command};
16
17use crate::{ApplicationState::State::ApplicationState::ApplicationState, dev_log};
18
19#[command]
20pub async fn PersistTreeView(
21 _ApplicationHandle:AppHandle<Wry>,
22
23 _State:State<'_, Arc<ApplicationState>>,
24
25 _ViewId:String,
26) -> Result<Value, String> {
27 dev_log!("commands", "warn: PersistTreeView not implemented");
28
29 Ok(json!({ "success": false, "error": "PersistTreeViewState method not implemented" }))
30}