langcompress

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanLanguageDir

func ScanLanguageDir(dir string, lang string) []string

Types

type LanguageCompressor

type LanguageCompressor struct{}

func NewLanguageCompressor

func NewLanguageCompressor() *LanguageCompressor

func (*LanguageCompressor) Compress

func (c *LanguageCompressor) Compress(content, language string) string

func (*LanguageCompressor) DetectLanguage

func (c *LanguageCompressor) DetectLanguage(filePath string) string

func (*LanguageCompressor) IsPackageFile

func (c *LanguageCompressor) IsPackageFile(filePath string) bool

func (*LanguageCompressor) StripLockFileContent

func (c *LanguageCompressor) StripLockFileContent(content string) string

Jump to

Keyboard shortcuts

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