Function radicle_cob::object::collaboration::get

source ยท
pub fn get<T, S>(
    storage: &S,
    typename: &TypeName,
    oid: &ObjectId,
) -> Result<Option<CollaborativeObject<T>>, Retrieve>
where T: Evaluate<S>, S: Store,
Expand description

Get a CollaborativeObject, if it exists.

The storage is the backing storage for storing crate::Entrys at content-addressable locations. Please see Store for further information.

The typename is the type of object to be found, while the object_id is the identifier for the particular object under that type.