MCPcopy
hub / github.com/kopia/kopia / VerifyObject

Method VerifyObject

repo/repository.go:223–226  ·  view source on GitHub ↗

VerifyObject verifies that the given object is stored properly in a repository and returns backing content IDs.

(ctx context.Context, id object.ID)

Source from the content-addressed store, hash-verified

221
222// VerifyObject verifies that the given object is stored properly in a repository and returns backing content IDs.
223func (r *directRepository) VerifyObject(ctx context.Context, id object.ID) ([]content.ID, error) {
224 //nolint:wrapcheck
225 return object.VerifyObject(ctx, r.cmgr, id)
226}
227
228// GetManifest returns the given manifest data and metadata.
229func (r *directRepository) GetManifest(ctx context.Context, id manifest.ID, data any) (*manifest.EntryMetadata, error) {

Callers

nothing calls this directly

Calls 1

VerifyObjectFunction · 0.92

Tested by

no test coverage detected