Documentation ¶
Index ¶
- type Renderer
- func (r *Renderer) ByExt(toRender string) string
- func (r *Renderer) ByExtIcon(toRender string) string
- func (r *Renderer) Dir(toRender string) string
- func (r *Renderer) DirIcon(toRender string) string
- func (r *Renderer) Executable(toRender string) string
- func (r *Renderer) FileMode(toRender string) string
- func (r *Renderer) GitAdded(name string) string
- func (r *Renderer) GitAddedSym(name string) string
- func (r *Renderer) GitCopied(name string) string
- func (r *Renderer) GitCopiedSym(name string) string
- func (r *Renderer) GitDeleted(name string) string
- func (r *Renderer) GitDeletedSym(name string) string
- func (r *Renderer) GitIgnored(name string) string
- func (r *Renderer) GitIgnoredSym(name string) string
- func (r *Renderer) GitModified(name string) string
- func (r *Renderer) GitModifiedSym(name string) string
- func (r *Renderer) GitRenamed(name string) string
- func (r *Renderer) GitRenamedSym(name string) string
- func (r *Renderer) GitUntracked(name string) string
- func (r *Renderer) GitUntrackedSym(name string) string
- func (r *Renderer) Group(toRender string) string
- func (r *Renderer) Icon(name string) string
- func (r *Renderer) Inode(inode string) string
- func (r *Renderer) Name(toRender string) string
- func (r *Renderer) Owner(toRender string) string
- func (r *Renderer) Pipe(toRender string) string
- func (r *Renderer) PipeIcon(toRender string) string
- func (r *Renderer) RegularFile(toRender string) string
- func (r *Renderer) SetInfoTheme(theme theme.Theme) *Renderer
- func (r *Renderer) SetTheme(theme theme.Theme) *Renderer
- func (r *Renderer) Size(toRender string) string
- func (r *Renderer) Socket(toRender string) string
- func (r *Renderer) SocketIcon(toRender string) string
- func (r *Renderer) Symlink(toRender string, path string) string
- func (r *Renderer) SymlinkIcon(toRender string, path string) string
- func (r *Renderer) SymlinkIconPlus(toRender string, path string, plus string) string
- func (r *Renderer) SymlinkPlus(toRender string, path string, plus string) string
- func (r *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) ByExtIcon ¶
ByExtIcon returns the icon and the name of the file if the file has no icon it returns an empty string
func (*Renderer) Executable ¶
func (*Renderer) GitAddedSym ¶ added in v0.4.0
func (*Renderer) GitCopiedSym ¶ added in v0.4.0
func (*Renderer) GitDeleted ¶ added in v0.4.0
func (*Renderer) GitDeletedSym ¶ added in v0.4.0
func (*Renderer) GitIgnored ¶ added in v0.4.0
func (*Renderer) GitIgnoredSym ¶ added in v0.4.0
func (*Renderer) GitModified ¶ added in v0.4.0
func (*Renderer) GitModifiedSym ¶ added in v0.4.0
func (*Renderer) GitRenamed ¶ added in v0.4.0
func (*Renderer) GitRenamedSym ¶ added in v0.4.0
func (*Renderer) GitUntracked ¶ added in v0.4.0
func (*Renderer) GitUntrackedSym ¶ added in v0.4.0
func (*Renderer) RegularFile ¶
func (*Renderer) SocketIcon ¶ added in v0.3.0
func (*Renderer) SymlinkIconPlus ¶ added in v0.3.0
SymlinkIconPlus returns the icon and the name of the file ! refactor this: dereference symlink outside method and make it as parameter or render it in a different method
func (*Renderer) SymlinkPlus ¶ added in v0.3.0
SymlinkPlus returns the icon and the name of the file ! refactor this: dereference symlink outside method and make it as parameter or render it in a different method
Click to show internal directories.
Click to hide internal directories.