Documentation
¶
Overview ¶
Package githubrelease resolves explicitly requested newer-compatible bundles from published GitHub Release assets. It trusts HTTPS to the configured API endpoint; the archive descriptor digest detects altered artifact content.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
Client *http.Client
BaseURL string
AssetName string
DescriptorAssetName string
MaxPages int
MaxMetadataBytes int64
MaxAssetBytes int64
}
Source implements skillsync.ReleaseSource against the GitHub Releases API.
func (Source) NewerCompatible ¶
func (s Source) NewerCompatible(ctx context.Context, matched skillsync.Source, current string) (skillsync.BundleDescriptor, fs.FS, error)
NewerCompatible returns ErrNoNewerCompatible when the matched bundle remains the newest compatible stable choice; callers then retain their embed.
Click to show internal directories.
Click to hide internal directories.