files

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRootCommand

func NewRootCommand(options core.BindOptions) *cobra.Command

Types

type FileTree

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

func NewFileTree

func NewFileTree(paths []string) *FileTree

func (*FileTree) Entries

func (t *FileTree) Entries() []FileTreeEntry

func (*FileTree) Sort

func (t *FileTree) Sort()

func (*FileTree) Write

func (t *FileTree) Write(stdout io.Writer) error

func (*FileTree) WriteWithPrefix

func (t *FileTree) WriteWithPrefix(stdout io.Writer, prefix string) error

type FileTreeEntry

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

type ShowCommand

type ShowCommand struct{}

func (*ShowCommand) Execute

func (c *ShowCommand) Execute(ctx core.CommandContext) error

type TreeCommand

type TreeCommand struct{}

func NewTreeCommand

func NewTreeCommand() *TreeCommand

func (*TreeCommand) Execute

func (c *TreeCommand) Execute(ctx core.CommandContext) error

Jump to

Keyboard shortcuts

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