indexcmds

package
v0.40.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IndexCmdWarning = "All dolt index commands are intended for developers only. Usage of these commands are not recommended.\n"
)

Variables

View Source
var Commands = cli.NewHiddenSubCommandHandler("index", "Internal debugging commands for showing and modifying table indexes.", []cli.Command{
	CatCmd{},
	LsCmd{},
	RebuildCmd{},
})

Functions

func HandleErr

func HandleErr(verr errhand.VerboseError, usage cli.UsagePrinter) int

Types

type CatCmd

type CatCmd struct {
	// contains filtered or unexported fields
}

func (CatCmd) ArgParser

func (cmd CatCmd) ArgParser() *argparser.ArgParser

func (CatCmd) CreateMarkdown

func (cmd CatCmd) CreateMarkdown(_ io.Writer, _ string) error

func (CatCmd) Description

func (cmd CatCmd) Description() string

func (CatCmd) Exec

func (cmd CatCmd) Exec(ctx context.Context, commandStr string, args []string, dEnv *env.DoltEnv) int

func (CatCmd) GatedForNBF

func (cmd CatCmd) GatedForNBF(nbf *types.NomsBinFormat) bool

func (CatCmd) Name

func (cmd CatCmd) Name() string

type LsCmd

type LsCmd struct{}

func (LsCmd) ArgParser

func (cmd LsCmd) ArgParser() *argparser.ArgParser

func (LsCmd) CreateMarkdown

func (cmd LsCmd) CreateMarkdown(_ io.Writer, _ string) error

func (LsCmd) Description

func (cmd LsCmd) Description() string

func (LsCmd) Exec

func (cmd LsCmd) Exec(ctx context.Context, commandStr string, args []string, dEnv *env.DoltEnv) int

func (LsCmd) GatedForNBF

func (cmd LsCmd) GatedForNBF(nbf *types.NomsBinFormat) bool

func (LsCmd) Name

func (cmd LsCmd) Name() string

type RebuildCmd

type RebuildCmd struct{}

func (RebuildCmd) ArgParser

func (cmd RebuildCmd) ArgParser() *argparser.ArgParser

func (RebuildCmd) CreateMarkdown

func (cmd RebuildCmd) CreateMarkdown(_ io.Writer, _ string) error

func (RebuildCmd) Description

func (cmd RebuildCmd) Description() string

func (RebuildCmd) Exec

func (cmd RebuildCmd) Exec(ctx context.Context, commandStr string, args []string, dEnv *env.DoltEnv) int

func (RebuildCmd) GatedForNBF

func (cmd RebuildCmd) GatedForNBF(nbf *types.NomsBinFormat) bool

func (RebuildCmd) Name

func (cmd RebuildCmd) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL