Documentation ¶
Index ¶
- Constants
- func IconForBranch(branch *models.Branch) string
- func IconForCommit(commit *models.Commit) string
- func IconForFile(name string, isSubmodule bool, isDirectory bool) string
- func IconForRemote(remote *models.Remote) string
- func IconForRemoteBranch(branch *models.RemoteBranch) string
- func IconForStash(stash *models.StashEntry) string
- func IconForTag(tag *models.Tag) string
- func IsIconEnabled() bool
- func SetIconEnabled(showIcons bool)
Constants ¶
View Source
const ( DEFAULT_FILE_ICON = "\uf15b" // DEFAULT_SUBMODULE_ICON = "\uf1d3" // DEFAULT_DIRECTORY_ICON = "\uf114" // )
https://github.com/ogham/exa/blob/master/src/output/icons.rs
View Source
const ( BRANCH_ICON = "\ufb2b" // שׂ DETACHED_HEAD_ICON = "\ue729" // TAG_ICON = "\uf02b" // COMMIT_ICON = "\ufc16" // ﰖ MERGE_COMMIT_ICON = "\ufb2c" // שּׁ DEFAULT_REMOTE_ICON = "\uf7a1" // STASH_ICON = "\uf01c" // )
Variables ¶
This section is empty.
Functions ¶
func IconForBranch ¶
func IconForCommit ¶
func IconForRemote ¶
func IconForRemoteBranch ¶
func IconForRemoteBranch(branch *models.RemoteBranch) string
func IconForStash ¶ added in v0.36.0
func IconForStash(stash *models.StashEntry) string
func IconForTag ¶
func IsIconEnabled ¶
func IsIconEnabled() bool
func SetIconEnabled ¶
func SetIconEnabled(showIcons bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.