Documentation ¶
Index ¶
- type Renderer
- func (rd *Renderer) BlockSize(toRender string) string
- func (rd *Renderer) ByExt(toRender string) (s theme.Style, found bool)
- func (rd *Renderer) ByName(toRender string) (s theme.Style, found bool)
- func (rd *Renderer) Colorend() string
- func (rd *Renderer) Dir(name string) theme.Style
- func (rd *Renderer) DirPrompt(dir string) string
- func (rd *Renderer) Executable() theme.Style
- func (rd *Renderer) File() theme.Style
- func (rd *Renderer) FileMode(toRender string) string
- func (rd *Renderer) GitAdded(name string) string
- func (rd *Renderer) GitCopied(name string) string
- func (rd *Renderer) GitDeleted(name string) string
- func (rd *Renderer) GitIgnored(name string) string
- func (rd *Renderer) GitModified(name string) string
- func (rd *Renderer) GitRenamed(name string) string
- func (rd *Renderer) GitTypeChanged(s string) string
- func (rd *Renderer) GitUnmodified(name string) string
- func (rd *Renderer) GitUntracked(name string) string
- func (rd *Renderer) GitUpdatedButUnmerged(s string) string
- func (rd *Renderer) Group(toRender string) string
- func (rd *Renderer) Inode(inode string) string
- func (rd *Renderer) Link(toRender string) string
- func (rd *Renderer) Mounts(mounts string) string
- func (rd *Renderer) OctalPerm(octal string) string
- func (rd *Renderer) Owner(toRender string) string
- func (rd *Renderer) Pipe() theme.Style
- func (rd *Renderer) RTime(now, modTime time.Time) string
- func (rd *Renderer) SetTheme(theme *theme.All) *Renderer
- func (rd *Renderer) Size(toRender, unit string) string
- func (rd *Renderer) Socket() theme.Style
- func (rd *Renderer) Symlink() theme.Style
- func (rd *Renderer) SymlinkArrow() theme.Style
- func (rd *Renderer) SymlinkBroken() theme.Style
- func (rd *Renderer) SymlinkDereference() theme.Style
- func (rd *Renderer) Time(toRender string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Renderer ¶
type Renderer struct {
// contains filtered or unexported fields
}
func NewRenderer ¶
func (*Renderer) ByExt ¶
ByExt returns the colorized string by the file extension if the file has no extension it returns an empty string
func (*Renderer) Executable ¶
func (*Renderer) GitDeleted ¶ added in v0.4.0
func (*Renderer) GitIgnored ¶ added in v0.4.0
func (*Renderer) GitModified ¶ added in v0.4.0
func (*Renderer) GitRenamed ¶ added in v0.4.0
func (*Renderer) GitTypeChanged ¶ added in v0.9.0
func (*Renderer) GitUnmodified ¶ added in v0.9.0
func (*Renderer) GitUntracked ¶ added in v0.4.0
func (*Renderer) GitUpdatedButUnmerged ¶ added in v0.9.0
func (*Renderer) SymlinkArrow ¶ added in v0.18.0
func (*Renderer) SymlinkBroken ¶ added in v0.18.0
func (*Renderer) SymlinkDereference ¶ added in v0.18.0
Click to show internal directories.
Click to hide internal directories.