Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPluginStorePath ¶
GetPluginStorePath returns the path to the plugin store for the given plugin.
func GetStore ¶
getStore returns a file handle to the store for the given plugin and capability. If the store does not exist, it will be created. Make sure to close the file handle after using it!
func InitializePluginStore ¶
initializeStore creates the store directory for the given plugin and capability.
func RemoveStore ¶
removeStore removes the store for the given plugin and capability.
Types ¶
type Client ¶
type Client struct{}
func (*Client) DetectLanguage ¶
func (c *Client) DetectLanguage(params GetLanguageInput) string
DetectLanguage detects the language of a file based on its filename and contents.
type GetLanguageInput ¶
Click to show internal directories.
Click to hide internal directories.