Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorWithPosition ¶
type ErrorWithPosition struct {
// contains filtered or unexported fields
}
func (*ErrorWithPosition) Error ¶
func (e *ErrorWithPosition) Error() string
func (*ErrorWithPosition) Position ¶
func (e *ErrorWithPosition) Position() int
func (*ErrorWithPosition) Unwrap ¶
func (e *ErrorWithPosition) Unwrap() error
type LSColors ¶
type LSColors struct { LeftOfColorSequence *string // lc RightOfColorSequence *string // rc EndColor *string // ec ResetOrdinaryColor *string // rs Normal *string // no FileDefault *string // fi Directory *string // di Symlink *string // ln Pipe *string // pi Socket *string // so BlockDevice *string // bd CharDevice *string // cd MissingFile *string // mi OrphanedSymlink *string // or Executable *string // ex Door *string // do SetUID *string // su SetGID *string // sg Sticky *string // st OtherWritable *string // ow OtherWritableSticky *string // tw Cap *string // ca MultiHardLink *string // mh ClearToEndOfLine *string // cl Extensions []LSColorsExtensions // *.xxx Unknowns map[string][]string }
func LSColorsDefault ¶
func LSColorsDefault() LSColors
func ParseLS_COLORS ¶
ParseLS_COLORS parse string as LS_COLORS environment variable. if allowUnknown is true, it accepts unknown indicator and add to .Unknowns field. if fails, it returns *ErrorWithPosition error. error position can be got by calling Position()
type LSColorsExtensions ¶
Click to show internal directories.
Click to hide internal directories.