snapshot

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMaterializeTimeout = errors.New("snapshot materialization timed out")

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	RepoURL         string
	BaseRef         string
	SourceCommitSHA string
}

type Options

type Options struct {
	CacheDir string
	Auth     gitauth.Options
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(opts Options) *Service

func (*Service) WriteTarGz

func (s *Service) WriteTarGz(ctx context.Context, meta Metadata, w io.Writer) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL