Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScanLanguageDir ¶
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
Click to show internal directories.
Click to hide internal directories.