Versions in this module Expand all Collapse all v1 v1.1.0 Nov 26, 2022 Changes in this version type Formatter + PrintError func(w io.Writer, err error) + type Terminal interface + ColorsEnabled func(colorFlag string) (bool, error) + OutputIsTerminal func(stdout *os.File) bool + TermWidth func() (int, error) v1.0.0 Nov 5, 2022 Changes in this version + type FileSystem interface + Abs func(path string) (string, error) + CountDirContents func(name string) (int, error) + DeviceNumbers func(path string) (string, error) + Dir func(path string) string + EmptyFileInfoSys func() any + FileATime func(fs.FileInfo) *time.Time + FileBlocks func(fileInfo fs.FileInfo) int64 + FileCTime func(fs.FileInfo) *time.Time + FileInode func(fs.FileInfo) uint64 + IsAbs func(path string) bool + Join func(elem ...string) string + JoinColor func(color string, reset string, elem ...string) string + NumberOfHardLinks func(fs.FileInfo) uint64 + Open func(name string) (fs.File, error) + OwnerAndGroupIDs func(fs.FileInfo) (string, string) + OwnerAndGroupNames func(fs.FileInfo) (string, string) + ReadDir func(name string) ([]fs.DirEntry, error) + ReadLink func(name string) (string, error) + Rel func(basepath, targpath string) (string, error) + SplitAll func(path string) []string + SplitExt func(filename string) (string, string) + Stat func(name string) (fs.FileInfo, error) + UserHomeDir func() (string, error) + UserName func() string + WorkDir func() string + type FormattedItemList interface + Get func(int) []string + Len func() int + type Formatter interface + DefaultTimeStyle func() string + FileError func(w io.Writer, err error, path string) + FolderHeader func(w io.Writer, path string, itemCount int) + FolderTail func(w io.Writer, path string) + FormatItem func(tableObj *table.Table, item any) ([]string, error) + FormatValue func(colName string, value string) (string, error) + LinkTargetSep func() string + LongLinkTarget func() bool + LongSet func(cols map[string]bool) + PrintItems func(w io.Writer, tableObj *table.Table, items FormattedItemList) error + SizeFormat func() common.SizeFormat + TableHeader func(w io.Writer, tableObj *table.Table) + type Frontend interface + Args func() []string + ColorsEnabled func(colorFlag string) (bool, error) + OutputIsTerminal func(stdout *os.File) bool + TermWidth func() (int, error)