Documentation
¶
Overview ¶
Package extensions provides functionality for managing tool file extensions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extensions ¶
type Extensions unmarshal.SingleOrSliceType[string]
Extensions represents a collection of file extensions.
func (Extensions) Compacted ¶
func (e Extensions) Compacted() Extensions
func (Extensions) ToHint ¶
func (e Extensions) ToHint() match.Hint
ToHint converts a list of extensions into a match.Hint.
func (*Extensions) UnmarshalYAML ¶
func (e *Extensions) UnmarshalYAML(value *yaml.Node) error
UnmarshalYAML allows unmarshaling the YAML node as either a single string or a slice of strings.
Click to show internal directories.
Click to hide internal directories.