Download packages/tauri-plugins/shared/template/src/commands.rs from echodict/readest: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri-plugins/shared/template/src/commands.rs
- Command line
-
hf download hf://datasets/echodict/readest/packages/tauri-plugins/shared/template/src/commands.rs
-
curl -L -o commands.rs https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri-plugins/shared/template/src/commands.rs
361 Bytes
| // Copyright 2019-2023 Tauri Programme within The Commons Conservancy | |
| // SPDX-License-Identifier: Apache-2.0 | |
| // SPDX-License-Identifier: MIT | |
| use tauri::{AppHandle, command, Runtime, Window}; | |
| use crate::Result; | |
| pub(crate) async fn execute<R: Runtime>( | |
| _app: AppHandle<R>, | |
| _window: Window<R>, | |
| ) -> Result<String> { | |
| Ok("success".to_string()) | |
| } | |