Documentation ¶
Overview ¶
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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithTestLsColors ¶
func WithTestLsColors() func()
WithTestLsColors sets LS_COLORS to a value where directories are blue and .png files are red. It returns a function to restore the old value. This function is mainly useful in tests.
Types ¶
Click to show internal directories.
Click to hide internal directories.