Versions in this module Expand all Collapse all v0 v0.25.2 Jan 15, 2024 v0.25.1 Jan 15, 2024 v0.25.0 Jan 15, 2024 Changes in this version + const BlockSizeName + const Charset + const GitRepoBranch + const GitRepoStatus + const GitStatus + const GroupName + const GroupSID + const GroupUidName + const Inode + const Link + const MimeTypeName + const NameName + const OctalPermissions + const OwnerName + const OwnerSID + const OwnerUidName + const ParentMimeTypeName + const Permissions + const RecursiveSizeName + const RelativeTime + const SizeName + const SumName + func Convert2SizeString(size SizeUnit) string + func DetectorFallthrough(d *DuplicateDetect) + func EnableFileMode(renderer *render.Renderer) filter.ContentOption + func EnableFileOctalPermissions(renderer *render.Renderer) filter.ContentOption + func EnableTime(format string, mode string, renderer *render.Renderer) filter.ContentOption + type BlockSizeEnabler struct + func NewBlockSizeEnabler() *BlockSizeEnabler + func (b *BlockSizeEnabler) Enable(renderer *render.Renderer) filter.ContentOption + type CharsetEnabler struct + func NewCharsetEnabler() *CharsetEnabler + func (c *CharsetEnabler) Enable(renderer *render.Renderer) filter.ContentOption + type DOption func(d *DuplicateDetect) + func DuplicateWithTbSize(size int) DOption + type Duplicate struct + Filenames []string + type DuplicateDetect struct + IsThrough bool + func NewDuplicateDetect(options ...DOption) *DuplicateDetect + func (d *DuplicateDetect) Enable() filter.NoOutputOption + func (d *DuplicateDetect) Fprint(w io.Writer) + func (d *DuplicateDetect) Reset() + func (d *DuplicateDetect) Result() []Duplicate + type GitEnabler struct + Path git.RepoPath + func NewGitEnabler() *GitEnabler + func (g *GitEnabler) Enable(renderer *render.Renderer) filter.ContentOption + func (g *GitEnabler) InitCache(repo git.RepoPath) + type GitRepoEnabler struct + func NewGitRepoEnabler() *GitRepoEnabler + func (g *GitRepoEnabler) Enable(renderer *render.Renderer) filter.ContentOption + func (g *GitRepoEnabler) EnableStatus(renderer *render.Renderer) filter.ContentOption + type GroupEnabler struct + Numeric bool + Smart bool + func NewGroupEnabler() *GroupEnabler + func (g *GroupEnabler) DisableNumeric() + func (g *GroupEnabler) DisableSmartMode() + func (g *GroupEnabler) EnableGroup(renderer *render.Renderer) filter.ContentOption + func (g *GroupEnabler) EnableNumeric() + func (g *GroupEnabler) EnableSmartMode() + type IndexEnabler struct + func NewIndexEnabler() *IndexEnabler + func (i *IndexEnabler) Enable() filter.ContentOption + type InodeEnabler struct + func NewInodeEnabler() *InodeEnabler + func (i *InodeEnabler) Enable(renderer *render.Renderer) filter.ContentOption + type LinkEnabler struct + func NewLinkEnabler() *LinkEnabler + func (l *LinkEnabler) Enable(renderer *render.Renderer) filter.ContentOption + type MimeFileTypeEnabler struct + ParentOnly bool + func NewMimeFileTypeEnabler() *MimeFileTypeEnabler + func (e *MimeFileTypeEnabler) Enable(renderer *render.Renderer) filter.ContentOption + type Name struct + Quote string + QuoteStatus int8 + func NewNameEnable() *Name + func (n *Name) Enable(renderer *render.Renderer) filter.ContentOption + func (n *Name) FullPath() bool + func (n *Name) RelativeTo() string + func (n *Name) SetClassify() *Name + func (n *Name) SetFileType() *Name + func (n *Name) SetFullPath() *Name + func (n *Name) SetHyperlink() *Name + func (n *Name) SetIcon() *Name + func (n *Name) SetMounts() *Name + func (n *Name) SetNoDeference() *Name + func (n *Name) SetQuote() *Name + func (n *Name) SetQuoteString(quote string) *Name + func (n *Name) SetRelativeTo(relativeTo string) + func (n *Name) SetStatistics(Statistics *Statistics) *Name + func (n *Name) Statistics() *Statistics + func (n *Name) UnsetClassify() *Name + func (n *Name) UnsetFileType() *Name + func (n *Name) UnsetFullPath() *Name + func (n *Name) UnsetHyperlink() *Name + func (n *Name) UnsetIcon() *Name + func (n *Name) UnsetMounts() *Name + func (n *Name) UnsetNoDeference() *Name + func (n *Name) UnsetQuote() *Name + type OwnerEnabler struct + Numeric bool + func NewOwnerEnabler() *OwnerEnabler + func (o *OwnerEnabler) DisableNumeric() + func (o *OwnerEnabler) EnableNumeric() + func (o *OwnerEnabler) EnableOwner(renderer *render.Renderer) filter.ContentOption + type RelativeTimeEnabler struct + Mode string + func NewRelativeTimeEnabler() *RelativeTimeEnabler + func (r *RelativeTimeEnabler) Enable(renderer *render.Renderer) filter.ContentOption + type Size struct + Bytes uint64 + func ParseSize(size string) (Size, error) + type SizeEnabler struct + func NewSizeEnabler() *SizeEnabler + func (s *SizeEnabler) DisableTotal() + func (s *SizeEnabler) EnableSize(size SizeUnit, renderer *render.Renderer) filter.ContentOption + func (s *SizeEnabler) Recursive() *SizeRecursive + func (s *SizeEnabler) Reset() + func (s *SizeEnabler) SetEnableTotal() + func (s *SizeEnabler) SetRecursive(sr *SizeRecursive) + func (s *SizeEnabler) Size2String(b int64) (string, SizeUnit) + func (s *SizeEnabler) SizeUint() SizeUnit + func (s *SizeEnabler) Total() (size int64, ok bool) + type SizeRecursive struct + func NewSizeRecursive(depth int) *SizeRecursive + type SizeUnit float64 + const Auto + const B + const BB + const Bit + const EB + const GB + const KB + const MB + const NB + const PB + const TB + const Unknown + const YB + const ZB + func ConvertFromSizeString(size string) SizeUnit + type Statistics struct + func (s *Statistics) MarshalJSON() ([]byte, error) + func (s *Statistics) Reset() + func (s *Statistics) String() string + type SumEnabler struct + func (s SumEnabler) EnableSum(renderer *render.Renderer, sumTypes ...SumType) filter.ContentOption + type SumType int + const SumTypeCRC32 + const SumTypeMd5 + const SumTypeSha1 + const SumTypeSha224 + const SumTypeSha256 + const SumTypeSha384 + const SumTypeSha512