Documentation
¶
Overview ¶
Package detect provides automatic project type detection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectInfo ¶
type ProjectInfo struct {
Name string `json:"name"`
Languages []string `json:"languages"`
Framework string `json:"framework,omitempty"`
BuildTool string `json:"build_tool,omitempty"`
}
ProjectInfo contains detected project information.
func DetectProject ¶
func DetectProject(rootPath string) (*ProjectInfo, error)
DetectProject detects the project type and metadata from the given root path.
Click to show internal directories.
Click to hide internal directories.