/// Returns a blob reader
/// It can be used to buffer the file
Returns a blob reader
It can be used to buffer the file
Returns a blob reader It can be used to buffer the file
pub async fn reader(&self, blob_id: &str) -> Result<BlobStreamReader, std::io::Error> {
        let path = format!("{}/{}", &self.blob_dir, blob_id);
        let file = tokio::fs::File::open(path).await?;
        Ok(BlobStreamReader::new(file))
    }
pub async fn reader ( & self , blob_id : & str ) -> Result < BlobStreamReader , std :: io :: Error > { let path = format ! ( " " self blob_dir blob_id ) ; let file = tokio :: fs :: File :: open ( path ) . await ? ; Ok ( BlobStreamReader :: new ( file ) ) }
Returns a blob reader
It can be used to buffer the file
Returns a blob reader It can be used to buffer the file
&self
blob_id
&str