Documentation
¶
Index ¶
- Constants
- 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
- type Reader
Constants ¶
View Source
const MaxEntries = 10000
View Source
const MaxFileBytes = 64 << 20
View Source
const MaxTotalBytes = 64 << 20
Variables ¶
This section is empty.
Functions ¶
func ValidEntry ¶
func ValidEntry(e forge.SourceEntry, format string) bool
func ValidateManifest ¶
func VerifyBlob ¶
Types ¶
type BlobCache ¶
type BlobCache struct {
// contains filtered or unexported fields
}
func NewBlobCache ¶
type Reader ¶
Click to show internal directories.
Click to hide internal directories.