Download packages/tauri-plugins/plugins/fs/src/scope.rs from echodict/readest: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri-plugins/plugins/fs/src/scope.rs
- Command line
-
hf download hf://datasets/echodict/readest/packages/tauri-plugins/plugins/fs/src/scope.rs
-
curl -L -o scope.rs https://huggingface.co/datasets/echodict/readest/resolve/main/packages/tauri-plugins/plugins/fs/src/scope.rs
383 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 struct Entry { | |
| pub path: Option<PathBuf>, | |
| } | |
| pub(crate) enum EntryRaw { | |
| Value(PathBuf), | |
| Object { path: PathBuf }, | |
| } | |