OpenObject opens the reader for a given object, returns object.ErrNotFound.
(ctx context.Context, id object.ID)
| 215 | |
| 216 | // OpenObject opens the reader for a given object, returns object.ErrNotFound. |
| 217 | func (r *directRepository) OpenObject(ctx context.Context, id object.ID) (object.Reader, error) { |
| 218 | //nolint:wrapcheck |
| 219 | return object.Open(ctx, r.cmgr, id) |
| 220 | } |
| 221 | |
| 222 | // VerifyObject verifies that the given object is stored properly in a repository and returns backing content IDs. |
| 223 | func (r *directRepository) VerifyObject(ctx context.Context, id object.ID) ([]content.ID, error) { |