Download packages/tauri-plugins/plugins/opener/src/scope_entry.rs from echodict/readest: direct link, hf CLI and curl.
- Browser
- Download file 629 Bytes
-
https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri-plugins/plugins/opener/src/scope_entry.rs
- Command line
-
hf download hf://datasets/echodict/readest/packages/tauri-plugins/plugins/opener/src/scope_entry.rs
-
curl -L -o scope_entry.rs https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri-plugins/plugins/opener/src/scope_entry.rs
629 Bytes
| // Copyright 2019-2023 Tauri Programme within The Commons Conservancy | |
| // SPDX-License-Identifier: Apache-2.0 | |
| // SPDX-License-Identifier: MIT | |
| use std::path::PathBuf; | |
| use serde::Deserialize; | |
| pub enum Application { | |
| Default, | |
| Enable(bool), | |
| App(String), | |
| } | |
| pub(crate) enum EntryRaw { | |
| Url { | |
| url: String, | |
| app: Application, | |
| }, | |
| Path { | |
| path: PathBuf, | |
| app: Application, | |
| }, | |
| } | |