extensions

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 6 Imported by: 0

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

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.

Jump to

Keyboard shortcuts

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