MCPcopy
hub / github.com/grafana/tempo / CopyBlock

Method CopyBlock

tempodb/encoding/vparquet5/encoding.go:36–38  ·  view source on GitHub ↗
(ctx context.Context, meta *backend.BlockMeta, from backend.Reader, to backend.Writer)

Source from the content-addressed store, hash-verified

34}
35
36func (v Encoding) CopyBlock(ctx context.Context, meta *backend.BlockMeta, from backend.Reader, to backend.Writer) error {
37 return CopyBlock(ctx, meta, meta, from, to)
38}
39
40func (v Encoding) MigrateBlock(ctx context.Context, fromMeta, toMeta *backend.BlockMeta, from backend.Reader, to backend.Writer) error {
41 return CopyBlock(ctx, fromMeta, toMeta, from, to)

Callers

nothing calls this directly

Calls 1

CopyBlockFunction · 0.70

Tested by

no test coverage detected