project

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectProject

func DetectProject(dir string) string

func NormalizeProject

func NormalizeProject(project string) (normalized string, warning string)

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

Jump to

Keyboard shortcuts

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