root

package
v0.1.23-oss Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RootCommand

type RootCommand struct {
	Commands []cli.Command

	Hasher       hash.Hasher
	CacheDir     string
	Local        bool
	FetchTimeout time.Duration
	// contains filtered or unexported fields
}

func NewRootCommand

func NewRootCommand() *RootCommand

func (*RootCommand) Cleanup

func (c *RootCommand) Cleanup()

func (*RootCommand) CreateHash

func (c *RootCommand) CreateHash(h string) (hash.Hash, error)

func (*RootCommand) HashAndStoreFromSingleArg

func (c *RootCommand) HashAndStoreFromSingleArg(fl *pflag.FlagSet) (hash.Hash, cas.Store)

func (*RootCommand) HasherDescription

func (c *RootCommand) HasherDescription() string

func (*RootCommand) RegisterFlags

func (c *RootCommand) RegisterFlags(fl *pflag.FlagSet)

func (*RootCommand) Run

func (c *RootCommand) Run(fl *pflag.FlagSet)

func (*RootCommand) Spec

func (c *RootCommand) Spec() cli.CommandSpec

func (*RootCommand) Store

func (c *RootCommand) Store() (cas.Store, error)

func (*RootCommand) Subcommands

func (c *RootCommand) Subcommands() []cli.Command

Jump to

Keyboard shortcuts

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