Versions in this module Expand all Collapse all v2 v2.3.0 Jul 30, 2026 v2.2.9 Jul 29, 2026 Changes in this version + func IsBlobURL(url string) bool + func IsGitHubURL(url string) bool + func IsTreeURL(url string) bool + func ResolveSkillDirectory(ctx context.Context, owner, repo, ref, skillName string) (string, error) + type Fetcher struct + func NewFetcher() *Fetcher + func (f *Fetcher) FetchDirectory(ctx context.Context, treeURL *TreeURL) ([]byte, error) + func (f *Fetcher) FetchFile(ctx context.Context, parsed *TreeURL) ([]byte, error) + func (f *Fetcher) FetchGitTree(ctx context.Context, owner, repo, ref string) ([]GitTreeEntry, error) + func (f *Fetcher) WithToken(token string) *Fetcher + type GitTreeEntry struct + Path string + Type string + type TreeURL struct + Owner string + Path string + Ref string + Repo string + func ParseBlobURL(url string) *TreeURL + func ParseTreeURL(url string) *TreeURL + func (t *TreeURL) ContentsAPIURL() string + func (t *TreeURL) RawURL(filename string) string + func (t *TreeURL) SkillName() string + func (t *TreeURL) String() string Other modules containing this package github.com/sleuth-io/sx