file

package
v0.0.0-...-4a4f80b Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(w io.Writer, opts ListOpts, args ...string)

Types

type Info

type Info struct {
	UID     string
	GID     string
	ModDate string
	Name    string
	Size    int64
	Hidden  bool
}

func GetInfo

func GetInfo(f fs.FS) ([]Info, error)

func (Info) String

func (fi Info) String() string

type ListOpts

type ListOpts struct {
	List       bool
	ShowHidden bool
}

Jump to

Keyboard shortcuts

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