tgt

package
v0.0.0-...-016edcc Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TargetOutputStatus

func TargetOutputStatus(t specs.Specer, output string, status string) status.Statuser

func TargetStatus

func TargetStatus(t specs.Specer, status string) status.Statuser

Types

type NamedPaths

type NamedPaths[TS ~[]T, T xfs.RelablePath] struct {
	// contains filtered or unexported fields
}

func (*NamedPaths[TS, T]) Add

func (tp *NamedPaths[TS, T]) Add(name string, p T)

func (*NamedPaths[TS, T]) AddAll

func (tp *NamedPaths[TS, T]) AddAll(name string, ps []T)

func (*NamedPaths[TS, T]) All

func (tp *NamedPaths[TS, T]) All() TS

func (*NamedPaths[TS, T]) HasName

func (tp *NamedPaths[TS, T]) HasName(name string) bool

func (*NamedPaths[TS, T]) IsNamed

func (tp *NamedPaths[TS, T]) IsNamed() bool

func (*NamedPaths[TS, T]) Name

func (tp *NamedPaths[TS, T]) Name(name string) TS

func (*NamedPaths[TS, T]) Named

func (tp *NamedPaths[TS, T]) Named() map[string]TS

func (*NamedPaths[TS, T]) Names

func (tp *NamedPaths[TS, T]) Names() []string

func (*NamedPaths[TS, T]) ProvisionName

func (tp *NamedPaths[TS, T]) ProvisionName(name string)

func (*NamedPaths[TS, T]) Sort

func (tp *NamedPaths[TS, T]) Sort()

func (NamedPaths[TS, T]) WithRoot

func (tp NamedPaths[TS, T]) WithRoot(root string) *NamedPaths[xfs.Paths, xfs.Path]

Jump to

Keyboard shortcuts

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