dir

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count struct {
	Count int
}

func (Count) Run

func (w Count) Run() error

type Dir

type Dir struct {
	OpenDir OpenDir `cmd:""`
	ReadDir ReadDir `cmd:""`
	Walk    Walk    `cmd:""`
	Count   Count   `cmd:""`
}

type OpenDir

type OpenDir struct {
	Dir string `arg:""`
}

func (OpenDir) Run

func (o OpenDir) Run() error

func (OpenDir) SubdirSize

func (o OpenDir) SubdirSize(path string) (int64, error)

type ReadDir

type ReadDir struct {
	Dir string `arg:""`
}

func (ReadDir) Run

func (w ReadDir) Run() error

type Walk

type Walk struct {
	Dir string `arg:""`
}

func (Walk) Run

func (w Walk) Run() error

Jump to

Keyboard shortcuts

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