taskpack

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Manifest

func Manifest(pack Pack, destDir string) *snapshot.Manifest

func MustManifest

func MustManifest(id, destDir string) (*snapshot.Manifest, error)

Types

type File

type File struct {
	Path       string `json:"path"`
	URI        string `json:"uri"`
	Type       string `json:"type,omitempty"`
	ApproxSize string `json:"approx_size,omitempty"`
}

type Pack

type Pack struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Task        string `json:"task"`
	Description string `json:"description"`
	BestFor     string `json:"best_for"`
	Files       []File `json:"files"`
}

func Get

func Get(id string) (Pack, bool)

func List

func List() []Pack

Jump to

Keyboard shortcuts

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