You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the blobs::Client has pub async fn get_collection(&self, hash: Hash) -> Result<Collection> for which there is no matching counterpart in the cli/console.
The Collection type has a lot of manipulation methods we probably do not want to map. However, a blobs collection <hash> which lists the blobs (by calling pub fn iter(&self) -> impl Iterator<Item = &(String, Hash)>) I think is both useful enough, and close enough to the rust api to be a good match to this top level client function
The text was updated successfully, but these errors were encountered:
@dignifiedquire@b5 do you guys think we should add this api to the cli? @palozano is already familiar with the cli code so this could be easy for him to do
the
blobs::Client
haspub async fn get_collection(&self, hash: Hash) -> Result<Collection>
for which there is no matching counterpart in the cli/console.The
Collection
type has a lot of manipulation methods we probably do not want to map. However, ablobs collection <hash>
which lists the blobs (by callingpub fn iter(&self) -> impl Iterator<Item = &(String, Hash)>
) I think is both useful enough, and close enough to the rust api to be a good match to this top level client functionThe text was updated successfully, but these errors were encountered: