discovery

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatStatus

func FormatStatus(status Status) string

func ListConfiguredTemplates

func ListConfiguredTemplates(projectRoot string, paths []string) ([]string, error)

func ListSnapshots

func ListSnapshots(projectRoot string) ([]string, error)

Types

type ManagedPath

type ManagedPath struct {
	Path  string `json:"path"`
	State string `json:"state"`
}

type Status

type Status struct {
	ProjectRoot string        `json:"projectRoot"`
	ConfigPath  string        `json:"configPath"`
	Paths       []ManagedPath `json:"paths"`
	Snapshots   []string      `json:"snapshots"`
	Templates   []string      `json:"templates"`
}

func Inspect

func Inspect(found project.Project) (Status, error)

Jump to

Keyboard shortcuts

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