blob: 3b282eacdd7044316240f536df915ade42fc46b9 (
plain) (
tree)
|
|
use crate::proto::Directory;
pub trait StoreClient {
fn open_blob(&self, digest: Vec<u8>) -> std::io::Result<Box<dyn std::io::BufRead>>;
// TODO: stat_blob, put_blob?
fn get_directory(&self, digest: Vec<u8>) -> std::io::Result<Option<Directory>>;
// TODO: put_directory
}
|