project

package
v1.0.0-rc.15 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ContenoxDirName = ".contenox"
	MarkerFileName  = "workspace.id"
	MaxNameLen      = 120
)
View Source
const LayerConfigFileName = "agents.toml"

Variables

This section is empty.

Functions

func DisplayName

func DisplayName(projectRoot string) string

func HasMarker

func HasMarker(projectRoot string) bool

func LayerConfigPath

func LayerConfigPath(root string) string

func LayerKey

func LayerKey(root string) string

func LayerKeyOf

func LayerKeyOf(path string) string

func LayerRootOf

func LayerRootOf(path string) (string, bool)

func MarkerName

func MarkerName(projectRoot string) string

func NormalizeName

func NormalizeName(raw string) (string, error)

Types

type Marker

type Marker struct {
	ID   string `json:"id"`
	Name string `json:"name,omitempty"`
}

func EnsureInContenoxDir

func EnsureInContenoxDir(contenoxDir, name string) (Marker, error)

func EnsureInProjectRoot

func EnsureInProjectRoot(projectRoot, name string) (Marker, error)

func ReadFromContenoxDir

func ReadFromContenoxDir(contenoxDir string) (Marker, bool)

func ReadFromProjectRoot

func ReadFromProjectRoot(projectRoot string) (Marker, bool)

func Register

func Register(projectRoot, name string) (Marker, error)

Jump to

Keyboard shortcuts

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