icons

package
v0.39.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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

Variables

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"     // 
)

Functions

func IconForBranch

func IconForBranch(branch *models.Branch) string

func IconForCommit

func IconForCommit(commit *models.Commit) string

func IconForFile

func IconForFile(name string, isSubmodule bool, isDirectory bool) string

func IconForRemote

func IconForRemote(remote *models.Remote) string

func IconForRemoteBranch

func IconForRemoteBranch(branch *models.RemoteBranch) string

func IconForStash added in v0.36.0

func IconForStash(stash *models.StashEntry) string

func IconForTag

func IconForTag(tag *models.Tag) string

func IsIconEnabled

func IsIconEnabled() bool

func SetNerdFontsVersion added in v0.39.0

func SetNerdFontsVersion(version string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL