package lscolors
Import Path
github.com/carapace-sh/carapace/third_party/github.com/elves/elvish/pkg/cli/lscolors (on go.dev)
Dependency Relation
imports 5 packages, and imported by one package
Involved Source Files
feature.go
Package lscolors provides styling of filenames based on file features.
This is a reverse-engineered implementation of the parsing and
interpretation of the LS_COLORS environmental variable used by GNU
coreutils.
stat_notsolaris.go
stat_unix.go
util.go
Package-Level Type Names (only one)
Colorist styles filenames based on the features of the file.
GetStyle returns the style for the named file.
GetStyle returns the style for the named file only by its extension.
func GetColorist(lsColorString string) Colorist
Package-Level Functions (total 2)
func GetColorist(lsColorString string) Colorist
IsExecutable returns whether the FileInfo refers to an executable file.
This is determined by permission bits on UNIX, and by file name on Windows.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |