Skip to main content

Mountain/IPC/WindServiceHandlers/UI/
WorkingCopyGetAllDirty.rs

1//! Wire method: `workingCopy:getAllDirty`.
2
3use std::sync::Arc;
4
5use serde_json::{Value, json};
6
7use crate::RunTime::ApplicationRunTime::ApplicationRunTime;
8
9pub async fn Fn(RunTime:Arc<ApplicationRunTime>) -> Result<Value, String> {
10	let Dirty = RunTime.Environment.ApplicationState.Feature.WorkingCopy.GetAllDirty();
11
12	Ok(json!(Dirty))
13}