Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectProject ¶
func NormalizeProject ¶
NormalizeProject normalizes a project name: lowercase, trim, collapse consecutive hyphens/underscores. Returns the normalized name and a warning if the name was changed.
Types ¶
type ProjectMatch ¶
type ProjectMatch struct {
Name string
MatchType string // "case-insensitive", "substring", "levenshtein"
Distance int
}
func FindSimilar ¶
func FindSimilar(name string, existing []string, maxDistance int) []ProjectMatch
Click to show internal directories.
Click to hide internal directories.