Download orchestrator/gitbucket/src/bucket.rs from Snapkitty/sov-kernel-monster: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/Snapkitty/sov-kernel-monster/resolve/main/orchestrator/gitbucket/src/bucket.rs
- Command line
-
hf download hf://Snapkitty/sov-kernel-monster/orchestrator/gitbucket/src/bucket.rs
-
curl -L -o bucket.rs https://huggingface.co/Snapkitty/sov-kernel-monster/resolve/main/orchestrator/gitbucket/src/bucket.rs
1.03 kB
| use serde::{Deserialize, Serialize}; | |
| pub struct MemoryBucket { | |
| pub id: String, | |
| pub git_hash: String, | |
| pub parent_hash: String, | |
| pub timestamp: String, | |
| pub author: Author, | |
| pub branch: String, | |
| pub bucket_type: String, | |
| pub summary: String, | |
| pub keywords: Vec<String>, | |
| pub entities: Vec<String>, | |
| pub files: Vec<FileEntry>, | |
| pub related: Vec<String>, | |
| pub trust: String, | |
| pub immutable: bool, | |
| pub worm_seal: WormSeal, | |
| } | |
| pub struct Author { | |
| pub id: String, | |
| pub pubkey: String, | |
| } | |
| pub struct FileEntry { | |
| pub path: String, | |
| pub role: String, | |
| pub diff_hash: String, | |
| } | |
| pub struct WormSeal { | |
| pub algorithm: String, | |
| pub signature: String, | |
| pub signer: String, | |
| pub audit_ref: String, | |
| } | |