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

Method open_save_file

src-tauri/src/window/handler.rs:255–264  ·  view source on GitHub ↗
(&self, app: AppHandle)

Source from the content-addressed store, hash-verified

253
254 #[tracing::instrument(level = "debug", skip(self))]
255 pub fn open_save_file(&self, app: AppHandle) -> Result<PathBuf> {
256 #[cfg(any(target_os = "android", target_os = "ios"))]
257 {
258 let res = app.dialog().file().blocking_save_file();
259 if let Some(FilePath::Path(path)) = res {
260 return Ok(path.clone());
261 }
262 }
263 Err("No file selected".into())
264 }
265}
266
267#[tracing::instrument(level = "debug", skip())]

Callers 2

export_themeFunction · 0.80
export_playlistFunction · 0.80

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected