pkg

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadProgramsFromFS

func LoadProgramsFromFS(f fs.FS, dir string) ([]*repositoryProgram, error)

Types

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepository

func NewRepository(directories []string) *Repository

func (*Repository) GetPrograms

func (r *Repository) GetPrograms() map[string]*cliopatra.Program

func (*Repository) Load

func (r *Repository) Load() error

func (*Repository) Watch

func (r *Repository) Watch(
	ctx context.Context,
) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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