detect

package
v0.0.0-...-16efc32 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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