packagesnapshot

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	TempRoot string
	Limits   Limits
	// contains filtered or unexported fields
}

func (Builder) Build

func (builder Builder) Build(ctx context.Context, sourceRoot string) (Snapshot, error)

type Limits

type Limits struct {
	MaxFiles     int
	MaxFileBytes int64
	MaxTreeBytes int64
	MaxDepth     int
}

type Snapshot

type Snapshot struct {
	Root            string
	Digest          string
	FileCount       int
	TotalBytes      int64
	ExecutableFiles []string
	// contains filtered or unexported fields
}

func (Snapshot) Close

func (snapshot Snapshot) Close() error

Jump to

Keyboard shortcuts

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