Versions in this module Expand all Collapse all v0 v0.11.3 Mar 12, 2026 Changes in this version + func IsGitReference(name string) bool + func ResolveAuth(cloneURL string) transport.AuthMethod + func ResolveAuthWith(getenv EnvFunc, cloneURL string) transport.AuthMethod + func WriteFiles(files []FileEntry, targetDir string, force bool) error + type EnvFunc func(string) string + type FileEntry struct + Content []byte + Mode fs.FileMode + Path string + type GitReference struct + Path string + Ref string + URL string + func ParseGitReference(raw string) (*GitReference, error) + func (r *GitReference) SkillName() string + type ResolveResult struct + CommitHash string + Files []FileEntry + SkillConfig *skills.ParseResult + type Resolver interface + Resolve func(ctx context.Context, ref *GitReference) (*ResolveResult, error) + func NewResolver(opts ...ResolverOption) Resolver + type ResolverOption func(*defaultResolver) + func WithGitClient(client git.Client) ResolverOption