SafeValue (format_major_version.go)

cockroachdb/pebble · format_major_version.go · go · BSD-3-Clause
database

Pebble storage engine type that defines format major versions and related utilities.

// Source: https://github.com/cockroachdb/pebble | License: BSD-3-Clause | Copyright 2011 The LevelDB-Go Authors. All rights reserved
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright 2021 The LevelDB-Go and Pebble Authors. All rights reserved. Use
// of this source code is governed by a BSD-style license that can be found in
// the LICENSE file.

package pebble

import (
	"context"
	"fmt"
	"strconv"

	"github.com/cockroachdb/errors"
	"github.com/cockroachdb/pebble/internal/manifest"
	"github.com/cockroachdb/pebble/objstorage/remote"
	"github.com/cockroachdb/pebble/sstable"
	"github.com/cockroachdb/pebble/sstable/blob"
	"github.com/cockroachdb/pebble/sstable/block"
	"github.com/cockroachdb/pebble/vfs"
	"github.com/cockroachdb/pebble/vfs/atomicfs"
)

// FormatMaj

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key