source

package
v0.0.0-...-97df629 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(tmpDir string, ps ParsedSource)

func FetchSkills

func FetchSkills(ps ParsedSource) (string, []*skill.Skill, error)

func GetOwnerRepo

func GetOwnerRepo(ps ParsedSource) string

Types

type ParsedSource

type ParsedSource struct {
	Type        SourceType
	URL         string
	Ref         string
	Subpath     string
	SkillFilter string
	LocalPath   string
}

func Parse

func Parse(input string) ParsedSource

type SourceType

type SourceType string
const (
	SourceGitHub    SourceType = "github"
	SourceGitLab    SourceType = "gitlab"
	SourceLocal     SourceType = "local"
	SourceGit       SourceType = "git"
	SourceWellKnown SourceType = "well-known"
)

Jump to

Keyboard shortcuts

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