Documentation
¶
Index ¶
- type FormatMode
- type Formatter
- func (f *Formatter) NewReader(in <-chan *node.Node) io.Reader
- func (f *Formatter) Next() (string, error)
- func (f *Formatter) Read(p []byte) (int, error)
- func (f *Formatter) SetShowDecoration(cond bool)
- func (f *Formatter) SetShowFullPath(cond bool)
- func (f *Formatter) SetShowHash(cond bool)
- func (f *Formatter) SetShowPrefix(cond bool)
- func (f *Formatter) SetShowSymlinkTarget(cond bool)
- func (f *Formatter) ShowDecoration() bool
- func (f *Formatter) ShowFullPath() bool
- func (f *Formatter) ShowHash() bool
- func (f *Formatter) ShowPrefix() bool
- func (f *Formatter) ShowSymlinkTarget() bool
- func (f *Formatter) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FormatMode ¶
type FormatMode uint8
//////////////////////////////////////////////////////////////////////
const ( // Implemented ShowFullPathMode FormatMode = 1 << iota ShowPrefixMode ShowDecorationMode ShowSymlinkTargetMode ShowHashChecksumMode // Future features ShowUserGroupMode ShowFilePermissionMode ShowFileSizeMode )
type Formatter ¶
type Formatter struct {
// contains filtered or unexported fields
}
//////////////////////////////////////////////////////////////////////
func (*Formatter) SetShowDecoration ¶
func (*Formatter) SetShowHash ¶
Display SHA1 checksum for regular file
func (*Formatter) SetShowPrefix ¶
func (*Formatter) SetShowSymlinkTarget ¶
func (*Formatter) ShowDecoration ¶
func (*Formatter) ShowPrefix ¶
func (*Formatter) ShowSymlinkTarget ¶
Click to show internal directories.
Click to hide internal directories.