promote

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewP2PPromoteCmd

func NewP2PPromoteCmd() (*cobra.Command, error)

Types

type FileSystem

type FileSystem interface {
	Stat(name string) (os.FileInfo, error)
}

type RealFileSystem

type RealFileSystem struct{}

func (RealFileSystem) Stat

func (RealFileSystem) Stat(name string) (os.FileInfo, error)

type Validator

type Validator struct {
	FileSystem FileSystem
	Commander  Commander
}

Jump to

Keyboard shortcuts

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