sourcekind

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Format

type Format struct {
	Kind             string `json:"kind"`
	Language         string `json:"language,omitempty"`
	JSX              bool   `json:"jsx,omitzero"`
	Outline          bool   `json:"outline,omitzero"`
	SemanticResolver string `json:"semanticResolver,omitempty"`
	SyntaxValidation bool   `json:"syntaxValidation,omitzero"`
}

Format describes the source capabilities for one file path suffix.

func Classify

func Classify(path string) (Format, bool)

Classify reports the exact case-sensitive source capabilities for path.

Jump to

Keyboard shortcuts

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