projectmarker

package
v0.11.0-a.7 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kind

type Kind int
const (
	None Kind = iota
	UB
	Go
)

type Marker

type Marker struct {
	Kind       Kind
	ModulePath string
}

func Classify

func Classify(fsys fs.FS, dir string) (Marker, error)

func ClassifyDir

func ClassifyDir(dir string) (Marker, error)

ClassifyDir classifies the project marker in dir.

func ClassifyRoot

func ClassifyRoot(fsys fs.FS) (Marker, error)

Jump to

Keyboard shortcuts

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