Download rust/crates/hyperkitty-continuity/src/inode.rs from Snapkitty/hyperkitty-constraint-dsl: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/rust/crates/hyperkitty-continuity/src/inode.rs
- Command line
-
hf download hf://Snapkitty/hyperkitty-constraint-dsl/rust/crates/hyperkitty-continuity/src/inode.rs
-
curl -L -o inode.rs https://huggingface.co/Snapkitty/hyperkitty-constraint-dsl/resolve/main/rust/crates/hyperkitty-continuity/src/inode.rs
411 Bytes
| pub struct InodeFlags { | |
| pub base_dir: String, | |
| } | |
| impl InodeFlags { | |
| pub fn new(base_dir: String) -> Self { | |
| Self { base_dir } | |
| } | |
| pub fn set_flag(&self, _name: &str) -> hyperkitty_core::Result<()> { | |
| Ok(()) | |
| } | |
| pub fn clear_flag(&self, _name: &str) -> hyperkitty_core::Result<()> { | |
| Ok(()) | |
| } | |
| pub fn get_flag(&self, _name: &str) -> bool { | |
| false | |
| } | |
| } | |