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

Function toVersion

tempodb/backend/gcs/gcs.go:454–456  ·  view source on GitHub ↗
(generation int64)

Source from the content-addressed store, hash-verified

452}
453
454func toVersion(generation int64) backend.Version {
455 return backend.Version(fmt.Sprint(generation))
456}
457
458func (rw *readerWriter) writer(ctx context.Context, name string, conditions *storage.Conditions) *storage.Writer {
459 o := rw.bucket.Object(name)

Callers 2

WriteVersionedMethod · 0.85
ReadVersionedMethod · 0.85

Calls 1

VersionTypeAlias · 0.92

Tested by

no test coverage detected