Spaces:
Runtime error
Runtime error
Download rust/worker/src/storage/mod.rs from expressapi/chroma: direct link, hf CLI and curl.
- Browser
- Download file 246 Bytes
-
https://huggingface.co/spaces/expressapi/chroma/resolve/main/rust/worker/src/storage/mod.rs
- Command line
-
hf download hf://spaces/expressapi/chroma/rust/worker/src/storage/mod.rs
-
curl -L -o mod.rs https://huggingface.co/spaces/expressapi/chroma/resolve/main/rust/worker/src/storage/mod.rs
246 Bytes
| use async_trait::async_trait; | |
| pub(crate) mod config; | |
| pub(crate) mod s3; | |
| trait Storage { | |
| async fn get(&self, key: &str, path: &str) -> Result<(), String>; | |
| async fn put(&self, key: &str, path: &str) -> Result<(), String>; | |
| } | |