Versions in this module Expand all Collapse all v1 v1.1.0 Nov 26, 2022 Changes in this version + const Reset + type TabularAppIface interface + Abs func(path string) (string, error) + Dir func(path string) string + Join func(elem ...string) string + JoinColor func(color string, reset string, elem ...string) string + SplitAll func(path string) []string + TermWidth func() (int, error) + UserHomeDir func() (string, error) + WorkDir func() string + type TabularFormatter struct + func New(app TabularAppIface, args *lsargs.Arguments, colors *lscolors.TabularColors) *TabularFormatter + func (*TabularFormatter) DefaultTimeStyle() string + func (*TabularFormatter) FolderTail(w io.Writer, path string) + func (*TabularFormatter) FormatItem(tableObj *table.Table, item any) ([]string, error) + func (*TabularFormatter) FormatValue(colName string, value string) (string, error) + func (*TabularFormatter) LinkTargetSep() string + func (*TabularFormatter) LongLinkTarget() bool + func (*TabularFormatter) LongSet(cols map[string]bool) + func (f *TabularFormatter) FileError(w io.Writer, err error, path string) + func (f *TabularFormatter) FolderHeader(w io.Writer, path string, itemCount int) + func (f *TabularFormatter) PrintError(w io.Writer, err error) + func (f *TabularFormatter) PrintItems(w io.Writer, tableObj *table.Table, items iface.FormattedItemList) error + func (f *TabularFormatter) SizeFormat() SizeFormat + func (f *TabularFormatter) TableHeader(w io.Writer, tableObj *table.Table)