Versions in this module Expand all Collapse all v0 v0.2.1 Oct 19, 2026 Changes in this version + const MaxEntries + const MaxFileBytes + const MaxTotalBytes + func Fetch(ctx context.Context, reader Reader, repo forge.RepoRef, commit string) (sandbox.Snapshot, error) + func ValidEntry(e forge.SourceEntry, format string) bool + func ValidSHA(value, format string) bool + func ValidateManifest(ctx context.Context, m forge.SourceManifest) (string, error) + func VerifyBlob(format, expected string, content []byte) bool + type BlobCache struct + func NewBlobCache(limit int) *BlobCache + type Reader struct + Cache *BlobCache + File func(context.Context, forge.RepoRef, string, string) (forge.File, error) + Files func(context.Context, forge.RepoRef, []string, string) ([]forge.File, error) + Manifest func(context.Context, forge.RepoRef, string) (forge.SourceManifest, error) + Scope string + func (r Reader) Blob(ctx context.Context, repo forge.RepoRef, entry forge.SourceEntry, ...) ([]byte, error)