Documentation ¶
Index ¶
- Variables
- func IconForBranch(branch *models.Branch) string
- func IconForCommit(commit *models.Commit) 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 IconForWorktree(missing bool) string
- func IsIconEnabled() bool
- func SetNerdFontsVersion(version string)
- type IconProperties
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DEFAULT_FILE_ICON = IconProperties{Icon: "\uf15b", Color: 241} // DEFAULT_SUBMODULE_ICON = IconProperties{Icon: "\uf1d3", Color: 202} // DEFAULT_DIRECTORY_ICON = IconProperties{Icon: "\uf07b", Color: 241} // )
View Source
var ( BRANCH_ICON = "\U000f062c" // DETACHED_HEAD_ICON = "\ue729" // TAG_ICON = "\uf02b" // COMMIT_ICON = "\U000f0718" // MERGE_COMMIT_ICON = "\U000f062d" // DEFAULT_REMOTE_ICON = "\uf02a2" // STASH_ICON = "\uf01c" // LINKED_WORKTREE_ICON = "\U000f0339" // MISSING_LINKED_WORKTREE_ICON = "\U000f033a" // )
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 IconForWorktree ¶ added in v0.40.0
func IsIconEnabled ¶
func IsIconEnabled() bool
func SetNerdFontsVersion ¶ added in v0.39.0
func SetNerdFontsVersion(version string)
Types ¶
type IconProperties ¶ added in v0.41.0
func IconForFile ¶
func IconForFile(name string, isSubmodule bool, isLinkedWorktree bool, isDirectory bool) IconProperties
Click to show internal directories.
Click to hide internal directories.