server

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir(home, name string) string

func ResolveBinary

func ResolveBinary(home string, def *Definition) string

Types

type Definition

type Definition struct {
	Name       string
	Command    string
	Args       []string
	Extensions []string
	Markers    []string
	LanguageID string
	Install    func(cacheDir string) error
}

func All

func All() []Definition

func DetectFromProject

func DetectFromProject(root string) []*Definition

func ForExtension

func ForExtension(ext string) *Definition

Jump to

Keyboard shortcuts

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